#2681
InversMax
Se citește un șir de caractere reprezentând o propoziție care conține litere mari și mici ale alfabetului englez, spații, cifre și alte simboluri. În cele ce urmează, considerăm cuvânt orice secvență delimitată de spații ce conține cel puțin o literă.
Se se afișeze șirul citit astfel încât cuvintele de lungime maximă să fie înlocuite cu inversul (oglinditul) lor, restul cuvintelor și aranjarea lor în propoziție să rămână neschimbate.
Problema | InversMax | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #16260105 | Utilizator | |
Fișier | inversmax.cpp | Dimensiune | 1.62 KB |
Data încărcării | 27 Iunie 2019, 21:39 | Scor / rezultat | Eroare de compilare |
inversmax.cpp:9:2: error: stray '\302' in program if ((c>='A' && c<='Z')||(c>='a' && c<='z')) return 1; ^ inversmax.cpp:9:2: error: stray '\240' in program inversmax.cpp:9:2: error: stray '\302' in program inversmax.cpp:9:2: error: stray '\240' in program inversmax.cpp:10:2: error: stray '\302' in program else return 0; ^ inversmax.cpp:10:2: error: stray '\240' in program inversmax.cpp:10:2: error: stray '\302' in program inversmax.cpp:10:2: error: stray '\240' in program inversmax.cpp:16:2: error: stray '\302' in program f.getline(s,256); ^ inversmax.cpp:16:2: error: stray '\240' in program inversmax.cpp:16:2: error: stray '\302' in program inversmax.cpp:16:2: error: stray '\240' in program inversmax.cpp:17:2: error: stray '\302' in program n=strlen(s); ^ inversmax.cpp:17:2: error: stray '\240' in program inversmax.cpp:17:2: error: stray '\302' in program inversmax.cpp:17:2: error: stray '\240' in program inversmax.cpp:18:2: error: stray '\302' in program s[n]=' '; ++n; s[n]=0; ^ inversmax.cpp:18:2: error: stray '\240' in program inversmax.cpp:18:2: error: stray '\302' in program inversmax.cpp:18:2: error: stray '\240' in program inversmax.cpp:19:2: error: stray '\302' in program i=0; ^ inversmax.cpp:19:2: error: stray '\240' in program inversmax.cpp:19:2: error: stray '\302' in program inversmax.cpp:19:2: error: stray '\240' in program inversmax.cpp:20:2: error: stray '\302' in program while (i<n) ^ inversmax.cpp:20:2: error: stray '\240' in program inversmax.cpp:20:2: error: stray '\302' in program inversmax.cpp:20:2: error: stray '\240' in program inversmax.cpp:21:2: error: stray '\302' in program { ^ inversmax.cpp:21:2: error: stray '\240' in program inversmax.cpp:21:2: error: stray '\302' in program inversmax.cpp:21:2: error: stray '\240' in program inversmax.cpp:22:2: error: stray '\302' in program if (s[i]!=' ') ^ inversmax.cpp:22:2: error: stray '\240' in program inversmax.cpp:22:2: error: stray '\302' in program inversmax.cpp:22:2: error: stray '\240' in program inversmax.cpp:22:2: error: stray '\302' in program inversmax.cpp:22:2: error: stray '\240' in program inversmax.cpp:22:2: error: stray '\302' in program inversmax.cpp:22:2: error: stray '\240' in program inversmax.cpp:23:2: error: stray '\302' in program { ^ inversmax.cpp:23:2: error: stray '\240' in program inversmax.cpp:23:2: error: stray '\302' in program inversmax.cpp:23:2: error: stray '\240' in program inversmax.cpp:23:2: error: stray '\302' in program inversmax.cpp:23:2: error: stray '\240' in program inversmax.cpp:23:2: error: stray '\302' in program inversmax.cpp:23:2: error: stray '\240' in program inversmax.cpp:24:2: error: stray '\302' in program ++lcuv; ^ inversmax.cpp:24:2: error: stray '\240' in program inversmax.cpp:24:2: error: stray '\302' in program inversmax.cpp:24:2: error: stray '\240' in program inversmax.cpp:24:2: error: stray '\302' in program inversmax.cpp:24:2: error: stray '\240' in program inversmax.cpp:24:2: error: stray '\302' in program inversmax.cpp:24:2: error: stray '\240' in program inversmax.cpp:24:2: error: stray '\302' in program inversmax.cpp:24:2: error: stray '\240' in program inversmax.cpp:24:2: error: stray '\302' in program inversmax.cpp:24:2: error: stray '\240' in program inversmax.cpp:25:2: error: stray '\302' in program if (litera(s[i])) ok=1; ^ inversmax.cpp:25:2: error: stray '\240' in program inversmax.cpp:25:2: error: stray '\302' in program inversmax.cpp:25:2: error: stray '\240' in program inversmax.cpp:25:2: error: stray '\302' in program inversmax.cpp:25:2: error: stray '\240' in program inversmax.cpp:25:2: error: stray '\302' in program inversmax.cpp:25:2: error: stray '\240' in program inversmax.cpp:25:2: error: stray '\302' in program inversmax.cpp:25:2: error: stray '\240' in program inversmax.cpp:25:2: error: stray '\302' in program inversmax.cpp:25:2: error: stray '\240' in program inversmax.cpp:26:2: error: stray '\302' in program } ^ inversmax.cpp:26:2: error: stray '\240' in program inversmax.cpp:26:2: error: stray '\302' in program inversmax.cpp:26:2: error: stray '\240' in program inversmax.cpp:26:2: error: stray '\302' in program inversmax.cpp:26:2: error: stray '\240' in program inversmax.cpp:26:2: error: stray '\302' in program inversmax.cpp:26:2: error: stray '\240' in program inversmax.cpp:27:2: error: stray '\302' in program else ^ inversmax.cpp:27:2: error: stray '\240' in program inversmax.cpp:27:2: error: stray '\302' in program inversmax.cpp:27:2: error: stray '\240' in program inversmax.cpp:27:2: error: stray '\302' in program inversmax.cpp:27:2: error: stray '\240' in program inversmax.cpp:27:2: error: stray '\302' in program inversmax.cpp:27:2: error: stray '\240' in program inversmax.cpp:28:2: error: stray '\302' in program { ^ inversmax.cpp:28:2: error: stray '\240' in program inversmax.cpp:28:2: error: stray '\302' in program inversmax.cpp:28:2: error: stray '\240' in program inversmax.cpp:28:2: error: stray '\302' in program inversmax.cpp:28:2: error: stray '\240' in program inversmax.cpp:28:2: error: stray '\302' in program inversmax.cpp:28:2: error: stray '\240' in program inversmax.cpp:29:2: error: stray '\302' in program if(ok) ^ inversmax.cpp:29:2: error: stray '\240' in program inversmax.cpp:29:2: error: stray '\302' in program inversmax.cpp:29:2: error: stray '\240' in program inversmax.cpp:29:2: error: stray '\302' in program inversmax.cpp:29:2: error: stray '\240' in program inversmax.cpp:29:2: error: stray '\302' in program inversmax.cpp:29:2: error: stray '\240' in program inversmax.cpp:29:2: error: stray '\302' in program inversmax.cpp:29:2: error: stray '\240' in program inversmax.cpp:29:2: error: stray '\302' in program inversmax.cpp:29:2: error: stray '\240' in program inversmax.cpp:30:2: error: stray '\302' in program { ^ inversmax.cpp:30:2: error: stray '\240' in program inversmax.cpp:30:2: error: stray '\302' in program inversmax.cpp:30:2: error: stray '\240' in program inversmax.cpp:30:2: error: stray '\302' in program inversmax.cpp:30:2: error: stray '\240' in program inversmax.cpp:30:2: error: stray '\302' in program inversmax.cpp:30:2: error: stray '\240' in program inversmax.cpp:30:2: error: stray '\302' in program inversmax.cpp:30:2: error: stray '\240' in program inversmax.cpp:30:2: error: stray '\302' in program inversmax.cpp:30:2: error: stray '\240' in program inversmax.cpp:31:2: error: stray '\302' in program if (lcuv>lmax) ^ inversmax.cpp:31:2: error: stray '\240' in program inversmax.cpp:31:2: error: stray '\302' in program inversmax.cpp:31:2: error: stray '\240' in program inversmax.cpp:31:2: error: stray '\302' in program inversmax.cpp:31:2: error: stray '\240' in program inversmax.cpp:31:2: error: stray '\302' in program inversmax.cpp:31:2: error: stray '\240' in program inversmax.cpp:31:2: error: stray '\302' in program inversmax.cpp:31:2: error: stray '\240' in program inversmax.cpp:31:2: error: stray '\302' in program inversmax.cpp:31:2: error: stray '\240' in program inversmax.cpp:31:2: error: stray '\302' in program inversmax.cpp:31:2: error: stray '\240' in program inversmax.cpp:31:2: error: stray '\302' in program inversmax.cpp:31:2: error: stray '\240' in program inversmax.cpp:32:2: error: stray '\302' in program { ^ inversmax.cpp:32:2: error: stray '\240' in program inversmax.cpp:32:2: error: stray '\302' in program inversmax.cpp:32:2: error: stray '\240' in program inversmax.cpp:32:2: error: stray '\302' in program inversmax.cpp:32:2: error: stray '\240' in program inversmax.cpp:32:2: error: stray '\302' in program inversmax.cpp:32:2: error: stray '\240' in program inversmax.cpp:32:2: error: stray '\302' in program inversmax.cpp:32:2: error: stray '\240' in program inversmax.cpp:32:2: error: stray '\302' in program inversmax.cpp:32:2: error: stray '\240' in program inversmax.cpp:32:2: error: stray '\302' in program inversmax.cpp:32:2: error: stray '\240' in program inversmax.cpp:32:2: error: stray '\302' in program inversmax.cpp:32:2: error: stray '\240' in program inversmax.cpp:33:2: error: stray '\302' in program lmax=lcuv; ^ inversmax.cpp:33:2: error: stray '\240' in program inversmax.cpp:33:2: error: stray '\302' in program inversmax.cpp:33:2: error: stray '\240' in program inversmax.cpp:33:2: error: stray '\302' in program inversmax.cpp:33:2: error: stray '\240' in program inversmax.cpp:33:2: error: stray '\302' in program inversmax.cpp:33:2: error: stray '\240' in program inversmax.cpp:33:2: error: stray '\302' in program inversmax.cpp:33:2: error: stray '\240' in program inversmax.cpp:33:2: error: stray '\302' in program inversmax.cpp:33:2: error: stray '\240' in program inversmax.cpp:33:2: error: stray '\302' in program inversmax.cpp:33:2: error: stray '\240' in program inversmax.cpp:33:2: error: stray '\302' in program inversmax.cpp:33:2: error: stray '\240' in program inversmax.cpp:33:2: error: stray '\302' in program inversmax.cpp:33:2: error: stray '\240' in program inversmax.cpp:33:2: error: stray '\302' in program inversmax.cpp:33:2: error: stray '\240' in program inversmax.cpp:34:2: error: stray '\302' in program start=i-lmax; ^ inversmax.cpp:34:2: error: stray '\240' in program inversmax.cpp:34:2: error: stray '\302' in program inversmax.cpp:34:2: error: stray '\240' in program inversmax.cpp:34:2: error: stray '\302' in program inversmax.cpp:34:2: error: stray '\240' in program inversmax.cpp:34:2: error: stray '\302' in program inversmax.cpp:34:2: error: stray '\240' in program inversmax.cpp:34:2: error: stray '\302' in program inversmax.cpp:34:2: error: stray '\240' in program inversmax.cpp:34:2: error: stray '\302' in program inversmax.cpp:34:2: error: stray '\240' in program inversmax.cpp:34:2: error: stray '\302' in program inversmax.cpp:34:2: error: stray '\240' in program inversmax.cpp:34:2: error: stray '\302' in program inversmax.cpp:34:2: error: stray '\240' in program inversmax.cpp:34:2: error: stray '\302' in program inversmax.cpp:34:2: error: stray '\240' in program inversmax.cpp:34:2: error: stray '\302' in program inversmax.cpp:34:2: error: stray '\240' in program inversmax.cpp:35:2: error: stray '\302' in program ind=1; poz[ind]=start; ^ inversmax.cpp:35:2: error: stray '\240' in program inversmax.cpp:35:2: error: stray '\302' in program inversmax.cpp:35:2: error: stray '\240' in program inversmax.cpp:35:2: error: stray '\302' in program inversmax.cpp:35:2: error: stray '\240' in program inversmax.cpp:35:2: error: stray '\302' in program inversmax.cpp:35:2: error: stray '\240' in program inversmax.cpp:35:2: error: stray '\302' in program inversmax.cpp:35:2: error: stray '\240' in program inversmax.cpp:35:2: error: stray '\302' in program inversmax.cpp:35:2: error: stray '\240' in program inversmax.cpp:35:2: error: stray '\302' in program inversmax.cpp:35:2: error: stray '\240' in program inversmax.cpp:35:2: error: stray '\302' in program inversmax.cpp:35:2: error: stray '\240' in program inversmax.cpp:35:2: error: stray '\302' in program inversmax.cpp:35:2: error: stray '\240' in program inversmax.cpp:35:2: error: stray '\302' in program inversmax.cpp:35:2: error: stray '\240' in program inversmax.cpp:36:2: error: stray '\302' in program } ^ inversmax.cpp:36:2: error: stray '\240' in program inversmax.cpp:36:2: error: stray '\302' in program inversmax.cpp:36:2: error: stray '\240' in program inversmax.cpp:36:2: error: stray '\302' in program inversmax.cpp:36:2: error: stray '\240' in program inversmax.cpp:36:2: error: stray '\302' in program inversmax.cpp:36:2: error: stray '\240' in program inversmax.cpp:36:2: error: stray '\302' in program inversmax.cpp:36:2: error: stray '\240' in program inversmax.cpp:36:2: error: stray '\302' in program inversmax.cpp:36:2: error: stray '\240' in program inversmax.cpp:36:2: error: stray '\302' in program inversmax.cpp:36:2: error: stray '\240' in program inversmax.cpp:36:2: error: stray '\302' in program inversmax.cpp:36:2: error: stray '\240' in program inversmax.cpp:37:2: error: stray '\302' in program else ^ inversmax.cpp:37:2: error: stray '\240' in program inversmax.cpp:37:2: error: stray '\302' in program inversmax.cpp:37:2: error: stray '\240' in program inversmax.cpp:37:2: error: stray '\302' in program inversmax.cpp:37:2: error: stray '\240' in program inversmax.cpp:37:2: error: stray '\302' in program inversmax.cpp:37:2: error: stray '\240' in program inversmax.cpp:37:2: error: stray '\302' in program inversmax.cpp:37:2: error: stray '\240' in program inversmax.cpp:37:2: error: stray '\302' in program inversmax.cpp:37:2: error: stray '\240' in program inversmax.cpp:37:2: error: stray '\302' in program inversmax.cpp:37:2: error: stray '\240' in program inversmax.cpp:37:2: error: stray '\302' in program inversmax.cpp:37:2: error: stray '\240' in program inversmax.cpp:38:2: error: stray '\302' in program { ^ inversmax.cpp:38:2: error: stray '\240' in program inversmax.cpp:38:2: error: stray '\302' in program inversmax.cpp:38:2: error: stray '\240' in program inversmax.cpp:38:2: error: stray '\302' in program inversmax.cpp:38:2: error: stray '\240' in program inversmax.cpp:38:2: error: stray '\302' in program inversmax.cpp:38:2: error: stray '\240' in program inversmax.cpp:38:2: error: stray '\302' in program inversmax.cpp:38:2: error: stray '\240' in program inversmax.cpp:38:2: error: stray '\302' in program inversmax.cpp:38:2: error: stray '\240' in program inversmax.cpp:38:2: error: stray '\302' in program inversmax.cpp:38:2: error: stray '\240' in program inversmax.cpp:38:2: error: stray '\302' in program inversmax.cpp:38:2: error: stray '\240' in program inversmax.cpp:39:2: error: stray '\302' in program if (lcuv==lmax) ^ inversmax.cpp:39:2: error: stray '\240' in program inversmax.cpp:39:2: error: stray '\302' in program inversmax.cpp:39:2: error: stray '\240' in program inversmax.cpp:39:2: error: stray '\302' in program inversmax.cpp:39:2: error: stray '\240' in program inversmax.cpp:39:2: error: stray '\302' in program inversmax.cpp:39:2: error: stray '\240' in program inversmax.cpp:39:2: error: stray '\302' in program inversmax.cpp:39:2: error: stray '\240' in program inversmax.cpp:39:2: error: stray '\302' in program inversmax.cpp:39:2: error: stray '\240' in program inversmax.cpp:39:2: error: stray '\302' in program inversmax.cpp:39:2: error: stray '\240' in program inversmax.cpp:39:2: error: stray '\302' in program inversmax.cpp:39:2: error: stray '\240' in program inversmax.cpp:39:2: error: stray '\302' in program inversmax.cpp:39:2: error: stray '\240' in program inversmax.cpp:39:2: error: stray '\302' in program inversmax.cpp:39:2: error: stray '\240' in program inversmax.cpp:40:2: error: stray '\302' in program { ^ inversmax.cpp:40:2: error: stray '\240' in program inversmax.cpp:40:2: error: stray '\302' in program inversmax.cpp:40:2: error: stray '\240' in program inversmax.cpp:40:2: error: stray '\302' in program inversmax.cpp:40:2: error: stray '\240' in program inversmax.cpp:40:2: error: stray '\302' in program inversmax.cpp:40:2: error: stray '\240' in program inversmax.cpp:40:2: error: stray '\302' in program inversmax.cpp:40:2: error: stray '\240' in program inversmax.cpp:40:2: error: stray '\302' in program inversmax.cpp:40:2: error: stray '\240' in program inversmax.cpp:40:2: error: stray '\302' in program inversmax.cpp:40:2: error: stray '\240' in program inversmax.cpp:40:2: error: stray '\302' in program inversmax.cpp:40:2: error: stray '\240' in program inversmax.cpp:40:2: error: stray '\302' in program inversmax.cpp:40:2: error: stray '\240' in program inversmax.cpp:40:2: error: stray '\302' in program inversmax.cpp:40:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program ++ind; poz[ind]=i-lmax; ^ inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:41:2: error: stray '\302' in program inversmax.cpp:41:2: error: stray '\240' in program inversmax.cpp:42:2: error: stray '\302' in program } ^ inversmax.cpp:42:2: error: stray '\240' in program inversmax.cpp:42:2: error: stray '\302' in program inversmax.cpp:42:2: error: stray '\240' in program inversmax.cpp:42:2: error: stray '\302' in program inversmax.cpp:42:2: error: stray '\240' in program inversmax.cpp:42:2: error: stray '\302' in program inversmax.cpp:42:2: error: stray '\240' in program inversmax.cpp:42:2: error: stray '\302' in program inversmax.cpp:42:2: error: stray '\240' in program inversmax.cpp:42:2: error: stray '\302' in program inversmax.cpp:42:2: error: stray '\240' in program inversmax.cpp:42:2: error: stray '\302' in program inversmax.cpp:42:2: error: stray '\240' in program inversmax.cpp:42:2: error: stray '\302' in program inversmax.cpp:42:2: error: stray '\240' in program inversmax.cpp:42:2: error: stray '\302' in program inversmax.cpp:42:2: error: stray '\240' in program inversmax.cpp:42:2: error: stray '\302' in program inversmax.cpp:42:2: error: stray '\240' in program inversmax.cpp:43:2: error: stray '\302' in program } ^ inversmax.cpp:43:2: error: stray '\240' in program inversmax.cpp:43:2: error: stray '\302' in program inversmax.cpp:43:2: error: stray '\240' in program inversmax.cpp:43:2: error: stray '\302' in program inversmax.cpp:43:2: error: stray '\240' in program inversmax.cpp:43:2: error: stray '\302' in program inversmax.cpp:43:2: error: stray '\240' in program inversmax.cpp:43:2: error: stray '\302' in program inversmax.cpp:43:2: error: stray '\240' in program inversmax.cpp:43:2: error: stray '\302' in program inversmax.cpp:43:2: error: stray '\240' in program inversmax.cpp:43:2: error: stray '\302' in program inversmax.cpp:43:2: error: stray '\240' in program inversmax.cpp:43:2: error: stray '\302' in program inversmax.cpp:43:2: error: stray '\240' in program inversmax.cpp:44:2: error: stray '\302' in program } ^ inversmax.cpp:44:2: error: stray '\240' in program inversmax.cpp:44:2: error: stray '\302' in program inversmax.cpp:44:2: error: stray '\240' in program inversmax.cpp:44:2: error: stray '\302' in program inversmax.cpp:44:2: error: stray '\240' in program inversmax.cpp:44:2: error: stray '\302' in program inversmax.cpp:44:2: error: stray '\240' in program inversmax.cpp:44:2: error: stray '\302' in program inversmax.cpp:44:2: error: stray '\240' in program inversmax.cpp:44:2: error: stray '\302' in program inversmax.cpp:44:2: error: stray '\240' in program inversmax.cpp:45:2: error: stray '\302' in program lcuv=0; ok=0; ^ inversmax.cpp:45:2: error: stray '\240' in program inversmax.cpp:45:2: error: stray '\302' in program inversmax.cpp:45:2: error: stray '\240' in program inversmax.cpp:45:2: error: stray '\302' in program inversmax.cpp:45:2: error: stray '\240' in program inversmax.cpp:45:2: error: stray '\302' in program inversmax.cpp:45:2: error: stray '\240' in program inversmax.cpp:45:2: error: stray '\302' in program inversmax.cpp:45:2: error: stray '\240' in program inversmax.cpp:45:2: error: stray '\302' in program inversmax.cpp:45:2: error: stray '\240' in program inversmax.cpp:46:2: error: stray '\302' in program } ^ inversmax.cpp:46:2: error: stray '\240' in program inversmax.cpp:46:2: error: stray '\302' in program inversmax.cpp:46:2: error: stray '\240' in program inversmax.cpp:46:2: error: stray '\302' in program inversmax.cpp:46:2: error: stray '\240' in program inversmax.cpp:46:2: error: stray '\302' in program inversmax.cpp:46:2: error: stray '\240' in program inversmax.cpp:47:2: error: stray '\302' in program ++i; ^ inversmax.cpp:47:2: error: stray '\240' in program inversmax.cpp:47:2: error: stray '\302' in program inversmax.cpp:47:2: error: stray '\240' in program inversmax.cpp:47:2: error: stray '\302' in program inversmax.cpp:47:2: error: stray '\240' in program inversmax.cpp:47:2: error: stray '\302' in program inversmax.cpp:47:2: error: stray '\240' in program inversmax.cpp:48:2: error: stray '\302' in program } ^ inversmax.cpp:48:2: error: stray '\240' in program inversmax.cpp:48:2: error: stray '\302' in program inversmax.cpp:48:2: error: stray '\240' in program inversmax.cpp:49:2: error: stray '\302' in program i=0; ind=1; j=poz[ind]; ^ inversmax.cpp:49:2: error: stray '\240' in program inversmax.cpp:49:2: error: stray '\302' in program inversmax.cpp:49:2: error: stray '\240' in program inversmax.cpp:49:2: error: stray '\302' in program inversmax.cpp:49:2: error: stray '\240' in program inversmax.cpp:50:2: error: stray '\302' in program while (i<n) ^ inversmax.cpp:50:2: error: stray '\240' in program inversmax.cpp:50:2: error: stray '\302' in program inversmax.cpp:50:2: error: stray '\240' in program inversmax.cpp:51:2: error: stray '\302' in program { ^ inversmax.cpp:51:2: error: stray '\240' in program inversmax.cpp:51:2: error: stray '\302' in program inversmax.cpp:51:2: error: stray '\240' in program inversmax.cpp:52:2: error: stray '\302' in program if (i==j) ^ inversmax.cpp:52:2: error: stray '\240' in program inversmax.cpp:52:2: error: stray '\302' in program inversmax.cpp:52:2: error: stray '\240' in program inversmax.cpp:52:2: error: stray '\302' in program inversmax.cpp:52:2: error: stray '\240' in program inversmax.cpp:52:2: error: stray '\302' in program inversmax.cpp:52:2: error: stray '\240' in program inversmax.cpp:53:2: error: stray '\302' in program { ^ inversmax.cpp:53:2: error: stray '\240' in program inversmax.cpp:53:2: error: stray '\302' in program inversmax.cpp:53:2: error: stray '\240' in program inversmax.cpp:53:2: error: stray '\302' in program inversmax.cpp:53:2: error: stray '\240' in program inversmax.cpp:53:2: error: stray '\302' in program inversmax.cpp:53:2: error: stray '\240' in program inversmax.cpp:54:2: error: stray '\302' in program for (int p=i; p<i+lmax; ++p) ^ inversmax.cpp:54:2: error: stray '\240' in program inversmax.cpp:54:2: error: stray '\302' in program inversmax.cpp:54:2: error: stray '\240' in program inversmax.cpp:54:2: error: stray '\302' in program inversmax.cpp:54:2: error: stray '\240' in program inversmax.cpp:54:2: error: stray '\302' in program inversmax.cpp:54:2: error: stray '\240' in program inversmax.cpp:54:2: error: stray '\302' in program inversmax.cpp:54:2: error: stray '\240' in program inversmax.cpp:54:2: error: stray '\302' in program inversmax.cpp:54:2: error: stray '\240' in program inversmax.cpp:55:2: error: stray '\302' in program w[p]=s[i+lmax+i-p-1]; ^ inversmax.cpp:55:2: error: stray '\240' in program inversmax.cpp:55:2: error: stray '\302' in program inversmax.cpp:55:2: error: stray '\240' in program inversmax.cpp:55:2: error: stray '\302' in program inversmax.cpp:55:2: error: stray '\240' in program inversmax.cpp:55:2: error: stray '\302' in program inversmax.cpp:55:2: error: stray '\240' in program inversmax.cpp:55:2: error: stray '\302' in program inversmax.cpp:55:2: error: stray '\240' in program inversmax.cpp:55:2: error: stray '\302' in program inversmax.cpp:55:2: error: stray '\240' in program inversmax.cpp:55:2: error: stray '\302' in program inversmax.cpp:55:2: error: stray '\240' in program inversmax.cpp:55:2: error: stray '\302' in program inversmax.cpp:55:2: error: stray '\240' in program inversmax.cpp:56:2: error: stray '\302' in program i=i+lmax-1; ++ind; ^ inversmax.cpp:56:2: error: stray '\240' in program inversmax.cpp:56:2: error: stray '\302' in program inversmax.cpp:56:2: error: stray '\240' in program inversmax.cpp:56:2: error: stray '\302' in program inversmax.cpp:56:2: error: stray '\240' in program inversmax.cpp:56:2: error: stray '\302' in program inversmax.cpp:56:2: error: stray '\240' in program inversmax.cpp:56:2: error: stray '\302' in program inversmax.cpp:56:2: error: stray '\240' in program inversmax.cpp:56:2: error: stray '\302' in program inversmax.cpp:56:2: error: stray '\240' in program inversmax.cpp:57:2: error: stray '\302' in program j=poz[ind]; ^ inversmax.cpp:57:2: error: stray '\240' in program inversmax.cpp:57:2: error: stray '\302' in program inversmax.cpp:57:2: error: stray '\240' in program inversmax.cpp:57:2: error: stray '\302' in program inversmax.cpp:57:2: error: stray '\240' in program inversmax.cpp:57:2: error: stray '\302' in program inversmax.cpp:57:2: error: stray '\240' in program inversmax.cpp:57:2: error: stray '\302' in program inversmax.cpp:57:2: error: stray '\240' in program inversmax.cpp:57:2: error: stray '\302' in program inversmax.cpp:57:2: error: stray '\240' in program inversmax.cpp:58:2: error: stray '\302' in program } ^ inversmax.cpp:58:2: error: stray '\240' in program inversmax.cpp:58:2: error: stray '\302' in program inversmax.cpp:58:2: error: stray '\240' in program inversmax.cpp:58:2: error: stray '\302' in program inversmax.cpp:58:2: error: stray '\240' in program inversmax.cpp:58:2: error: stray '\302' in program inversmax.cpp:58:2: error: stray '\240' in program inversmax.cpp:59:2: error: stray '\302' in program else ^ inversmax.cpp:59:2: error: stray '\240' in program inversmax.cpp:59:2: error: stray '\302' in program inversmax.cpp:59:2: error: stray '\240' in program inversmax.cpp:59:2: error: stray '\302' in program inversmax.cpp:59:2: error: stray '\240' in program inversmax.cpp:59:2: error: stray '\302' in program inversmax.cpp:59:2: error: stray '\240' in program inversmax.cpp:60:2: error: stray '\302' in program { ^ inversmax.cpp:60:2: error: stray '\240' in program inversmax.cpp:60:2: error: stray '\302' in program inversmax.cpp:60:2: error: stray '\240' in program inversmax.cpp:60:2: error: stray '\302' in program inversmax.cpp:60:2: error: stray '\240' in program inversmax.cpp:60:2: error: stray '\302' in program inversmax.cpp:60:2: error: stray '\240' in program inversmax.cpp:61:2: error: stray '\302' in program w[i]=s[i]; ^ inversmax.cpp:61:2: error: stray '\240' in program inversmax.cpp:61:2: error: stray '\302' in program inversmax.cpp:61:2: error: stray '\240' in program inversmax.cpp:61:2: error: stray '\302' in program inversmax.cpp:61:2: error: stray '\240' in program inversmax.cpp:61:2: error: stray '\302' in program inversmax.cpp:61:2: error: stray '\240' in program inversmax.cpp:61:2: error: stray '\302' in program inversmax.cpp:61:2: error: stray '\240' in program inversmax.cpp:61:2: error: stray '\302' in program inversmax.cpp:61:2: error: stray '\240' in program inversmax.cpp:62:2: error: stray '\302' in program } ^ inversmax.cpp:62:2: error: stray '\240' in program inversmax.cpp:62:2: error: stray '\302' in program inversmax.cpp:62:2: error: stray '\240' in program inversmax.cpp:62:2: error: stray '\302' in program inversmax.cpp:62:2: error: stray '\240' in program inversmax.cpp:62:2: error: stray '\302' in program inversmax.cpp:62:2: error: stray '\240' in program inversmax.cpp:63:2: error: stray '\302' in program ++i; ^ inversmax.cpp:63:2: error: stray '\240' in program inversmax.cpp:63:2: error: stray '\302' in program inversmax.cpp:63:2: error: stray '\240' in program inversmax.cpp:63:2: error: stray '\302' in program inversmax.cpp:63:2: error: stray '\240' in program inversmax.cpp:63:2: error: stray '\302' in program inversmax.cpp:63:2: error: stray '\240' in program inversmax.cpp:64:2: error: stray '\302' in program } ^ inversmax.cpp:64:2: error: stray '\240' in program inversmax.cpp:64:2: error: stray '\302' in program inversmax.cpp:64:2: error: stray '\240' in program inversmax.cpp:65:2: error: stray '\302' in program --n; w[n]=0; ^ inversmax.cpp:65:2: error: stray '\240' in program inversmax.cpp:65:2: error: stray '\302' in program inversmax.cpp:65:2: error: stray '\240' in program inversmax.cpp:66:2: error: stray '\302' in program cout << w; ^ inversmax.cpp:66:2: error: stray '\240' in program inversmax.cpp:66:2: error: stray '\302' in program inversmax.cpp:66:2: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema InversMax face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.