#4263
ifelse
Studiind instrucțiunea if
, Alinutza a aflat că ramura else
se asociază celui mai apropiat if
neasociat încă. Aprofundând studiul, a extras din fiecare program scris cuvintele if
și else
. Din neatenție a transcris greșit, pierzând asocierea corectă if else
. Ajutați-o voi să aibă scrierea corectă, folosind un număr minim de modificări. O modificare înseamnă să înlocuim un cuvânt if
cu else
sau un cuvânt else
cu if
.
Problema | ifelse | Operații I/O |
ifelse.in /ifelse.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #43557802 | Utilizator | |
Fișier | ifelse.cpp | Dimensiune | 1009 B |
Data încărcării | 03 Mai 2023, 13:42 | Scor / rezultat | Eroare de compilare |
ifelse.cpp:8:1: error: stray '\302' in program int nr=0,nrneg=0,nrcuv=0,i,n; ^ ifelse.cpp:8:1: error: stray '\240' in program ifelse.cpp:8:1: error: stray '\302' in program ifelse.cpp:8:1: error: stray '\240' in program ifelse.cpp:8:1: error: stray '\302' in program ifelse.cpp:8:1: error: stray '\240' in program ifelse.cpp:9:1: error: stray '\302' in program char a[40001],*p; ^ ifelse.cpp:9:1: error: stray '\240' in program ifelse.cpp:9:1: error: stray '\302' in program ifelse.cpp:9:1: error: stray '\240' in program ifelse.cpp:9:1: error: stray '\302' in program ifelse.cpp:9:1: error: stray '\240' in program ifelse.cpp:10:1: error: stray '\302' in program cin>>n; ^ ifelse.cpp:10:1: error: stray '\240' in program ifelse.cpp:10:1: error: stray '\302' in program ifelse.cpp:10:1: error: stray '\240' in program ifelse.cpp:10:1: error: stray '\302' in program ifelse.cpp:10:1: error: stray '\240' in program ifelse.cpp:11:1: error: stray '\302' in program for (i=1;i<=n;i++) ^ ifelse.cpp:11:1: error: stray '\240' in program ifelse.cpp:11:1: error: stray '\302' in program ifelse.cpp:11:1: error: stray '\240' in program ifelse.cpp:11:1: error: stray '\302' in program ifelse.cpp:11:1: error: stray '\240' in program ifelse.cpp:12:1: error: stray '\302' in program { ^ ifelse.cpp:12:1: error: stray '\240' in program ifelse.cpp:12:1: error: stray '\302' in program ifelse.cpp:12:1: error: stray '\240' in program ifelse.cpp:12:1: error: stray '\302' in program ifelse.cpp:12:1: error: stray '\240' in program ifelse.cpp:13:1: error: stray '\302' in program cin.get (); ^ ifelse.cpp:13:1: error: stray '\240' in program ifelse.cpp:13:1: error: stray '\302' in program ifelse.cpp:13:1: error: stray '\240' in program ifelse.cpp:13:1: error: stray '\302' in program ifelse.cpp:13:1: error: stray '\240' in program ifelse.cpp:13:1: error: stray '\302' in program ifelse.cpp:13:1: error: stray '\240' in program ifelse.cpp:13:1: error: stray '\302' in program ifelse.cpp:13:1: error: stray '\240' in program ifelse.cpp:13:1: error: stray '\302' in program ifelse.cpp:13:1: error: stray '\240' in program ifelse.cpp:13:1: error: stray '\302' in program ifelse.cpp:13:1: error: stray '\240' in program ifelse.cpp:14:1: error: stray '\302' in program cin.get (a,40001); ^ ifelse.cpp:14:1: error: stray '\240' in program ifelse.cpp:14:1: error: stray '\302' in program ifelse.cpp:14:1: error: stray '\240' in program ifelse.cpp:14:1: error: stray '\302' in program ifelse.cpp:14:1: error: stray '\240' in program ifelse.cpp:14:1: error: stray '\302' in program ifelse.cpp:14:1: error: stray '\240' in program ifelse.cpp:14:1: error: stray '\302' in program ifelse.cpp:14:1: error: stray '\240' in program ifelse.cpp:14:1: error: stray '\302' in program ifelse.cpp:14:1: error: stray '\240' in program ifelse.cpp:14:1: error: stray '\302' in program ifelse.cpp:14:1: error: stray '\240' in program ifelse.cpp:15:1: error: stray '\302' in program nrcuv=0; ^ ifelse.cpp:15:1: error: stray '\240' in program ifelse.cpp:15:1: error: stray '\302' in program ifelse.cpp:15:1: error: stray '\240' in program ifelse.cpp:15:1: error: stray '\302' in program ifelse.cpp:15:1: error: stray '\240' in program ifelse.cpp:15:1: error: stray '\302' in program ifelse.cpp:15:1: error: stray '\240' in program ifelse.cpp:15:1: error: stray '\302' in program ifelse.cpp:15:1: error: stray '\240' in program ifelse.cpp:15:1: error: stray '\302' in program ifelse.cpp:15:1: error: stray '\240' in program ifelse.cpp:15:1: error: stray '\302' in program ifelse.cpp:15:1: error: stray '\240' in program ifelse.cpp:16:1: error: stray '\302' in program nrneg=0; ^ ifelse.cpp:16:1: error: stray '\240' in program ifelse.cpp:16:1: error: stray '\302' in program ifelse.cpp:16:1: error: stray '\240' in program ifelse.cpp:16:1: error: stray '\302' in program ifelse.cpp:16:1: error: stray '\240' in program ifelse.cpp:16:1: error: stray '\302' in program ifelse.cpp:16:1: error: stray '\240' in program ifelse.cpp:16:1: error: stray '\302' in program ifelse.cpp:16:1: error: stray '\240' in program ifelse.cpp:16:1: error: stray '\302' in program ifelse.cpp:16:1: error: stray '\240' in program ifelse.cpp:16:1: error: stray '\302' in program ifelse.cpp:16:1: error: stray '\240' in program ifelse.cpp:17:1: error: stray '\302' in program nr=0; ^ ifelse.cpp:17:1: error: stray '\240' in program ifelse.cpp:17:1: error: stray '\302' in program ifelse.cpp:17:1: error: stray '\240' in program ifelse.cpp:17:1: error: stray '\302' in program ifelse.cpp:17:1: error: stray '\240' in program ifelse.cpp:17:1: error: stray '\302' in program ifelse.cpp:17:1: error: stray '\240' in program ifelse.cpp:17:1: error: stray '\302' in program ifelse.cpp:17:1: error: stray '\240' in program ifelse.cpp:17:1: error: stray '\302' in program ifelse.cpp:17:1: error: stray '\240' in program ifelse.cpp:17:1: error: stray '\302' in program ifelse.cpp:17:1: error: stray '\240' in program ifelse.cpp:18:1: error: stray '\302' in program for (p=strtok (a," ");p;p=strtok (NULL," ")) ^ ifelse.cpp:18:1: error: stray '\240' in program ifelse.cpp:18:1: error: stray '\302' in program ifelse.cpp:18:1: error: stray '\240' in program ifelse.cpp:18:1: error: stray '\302' in program ifelse.cpp:18:1: error: stray '\240' in program ifelse.cpp:18:1: error: stray '\302' in program ifelse.cpp:18:1: error: stray '\240' in program ifelse.cpp:18:1: error: stray '\302' in program ifelse.cpp:18:1: error: stray '\240' in program ifelse.cpp:18:1: error: stray '\302' in program ifelse.cpp:18:1: error: stray '\240' in program ifelse.cpp:18:1: error: stray '\302' in program ifelse.cpp:18:1: error: stray '\240' in program ifelse.cpp:19:1: error: stray '\302' in program { ^ ifelse.cpp:19:1: error: stray '\240' in program ifelse.cpp:19:1: error: stray '\302' in program ifelse.cpp:19:1: error: stray '\240' in program ifelse.cpp:19:1: error: stray '\302' in program ifelse.cpp:19:1: error: stray '\240' in program ifelse.cpp:19:1: error: stray '\302' in program ifelse.cpp:19:1: error: stray '\240' in program ifelse.cpp:19:1: error: stray '\302' in program ifelse.cpp:19:1: error: stray '\240' in program ifelse.cpp:19:1: error: stray '\302' in program ifelse.cpp:19:1: error: stray '\240' in program ifelse.cpp:19:1: error: stray '\302' in program ifelse.cpp:19:1: error: stray '\240' in program ifelse.cpp:20:1: error: stray '\302' in program nrcuv++; ^ ifelse.cpp:20:1: error: stray '\240' in program ifelse.cpp:20:1: error: stray '\302' in program ifelse.cpp:20:1: error: stray '\240' in program ifelse.cpp:20:1: error: stray '\302' in program ifelse.cpp:20:1: error: stray '\240' in program ifelse.cpp:20:1: error: stray '\302' in program ifelse.cpp:20:1: error: stray '\240' in program ifelse.cpp:20:1: error: stray '\302' in program ifelse.cpp:20:1: error: stray '\240' in program ifelse.cpp:20:1: error: stray '\302' in program ifelse.cpp:20:1: error: stray '\240' in program ifelse.cpp:20:1: error: stray '\302' in program ifelse.cpp:20:1: error: stray '\240' in program ifelse.cpp:20:1: error: stray '\302' in program ifelse.cpp:20:1: error: stray '\240' in program ifelse.cpp:20:1: error: stray '\302' in program ifelse.cpp:20:1: error: stray '\240' in program ifelse.cpp:20:1: error: stray '\302' in program ifelse.cpp:20:1: error: stray '\240' in program ifelse.cpp:20:1: error: stray '\302' in program ifelse.cpp:20:1: error: stray '\240' in program ifelse.cpp:21:1: error: stray '\302' in program if (strcmp (p,"if")==0) ^ ifelse.cpp:21:1: error: stray '\240' in program ifelse.cpp:21:1: error: stray '\302' in program ifelse.cpp:21:1: error: stray '\240' in program ifelse.cpp:21:1: error: stray '\302' in program ifelse.cpp:21:1: error: stray '\240' in program ifelse.cpp:21:1: error: stray '\302' in program ifelse.cpp:21:1: error: stray '\240' in program ifelse.cpp:21:1: error: stray '\302' in program ifelse.cpp:21:1: error: stray '\240' in program ifelse.cpp:21:1: error: stray '\302' in program ifelse.cpp:21:1: error: stray '\240' in program ifelse.cpp:21:1: error: stray '\302' in program ifelse.cpp:21:1: error: stray '\240' in program ifelse.cpp:21:1: error: stray '\302' in program ifelse.cpp:21:1: error: stray '\240' in program ifelse.cpp:21:1: error: stray '\302' in program ifelse.cpp:21:1: error: stray '\240' in program ifelse.cpp:21:1: error: stray '\302' in program ifelse.cpp:21:1: error: stray '\240' in program ifelse.cpp:21:1: error: stray '\302' in program ifelse.cpp:21:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program nr++; ^ ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:22:1: error: stray '\302' in program ifelse.cpp:22:1: error: stray '\240' in program ifelse.cpp:23:1: error: stray '\302' in program else ^ ifelse.cpp:23:1: error: stray '\240' in program ifelse.cpp:23:1: error: stray '\302' in program ifelse.cpp:23:1: error: stray '\240' in program ifelse.cpp:23:1: error: stray '\302' in program ifelse.cpp:23:1: error: stray '\240' in program ifelse.cpp:23:1: error: stray '\302' in program ifelse.cpp:23:1: error: stray '\240' in program ifelse.cpp:23:1: error: stray '\302' in program ifelse.cpp:23:1: error: stray '\240' in program ifelse.cpp:23:1: error: stray '\302' in program ifelse.cpp:23:1: error: stray '\240' in program ifelse.cpp:23:1: error: stray '\302' in program ifelse.cpp:23:1: error: stray '\240' in program ifelse.cpp:23:1: error: stray '\302' in program ifelse.cpp:23:1: error: stray '\240' in program ifelse.cpp:23:1: error: stray '\302' in program ifelse.cpp:23:1: error: stray '\240' in program ifelse.cpp:23:1: error: stray '\302' in program ifelse.cpp:23:1: error: stray '\240' in program ifelse.cpp:23:1: error: stray '\302' in program ifelse.cpp:23:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program nr--; ^ ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:24:1: error: stray '\302' in program ifelse.cpp:24:1: error: stray '\240' in program ifelse.cpp:25:1: error: stray '\302' in program if (nr<0) ^ ifelse.cpp:25:1: error: stray '\240' in program ifelse.cpp:25:1: error: stray '\302' in program ifelse.cpp:25:1: error: stray '\240' in program ifelse.cpp:25:1: error: stray '\302' in program ifelse.cpp:25:1: error: stray '\240' in program ifelse.cpp:25:1: error: stray '\302' in program ifelse.cpp:25:1: error: stray '\240' in program ifelse.cpp:25:1: error: stray '\302' in program ifelse.cpp:25:1: error: stray '\240' in program ifelse.cpp:25:1: error: stray '\302' in program ifelse.cpp:25:1: error: stray '\240' in program ifelse.cpp:25:1: error: stray '\302' in program ifelse.cpp:25:1: error: stray '\240' in program ifelse.cpp:25:1: error: stray '\302' in program ifelse.cpp:25:1: error: stray '\240' in program ifelse.cpp:25:1: error: stray '\302' in program ifelse.cpp:25:1: error: stray '\240' in program ifelse.cpp:25:1: error: stray '\302' in program ifelse.cpp:25:1: error: stray '\240' in program ifelse.cpp:25:1: error: stray '\302' in program ifelse.cpp:25:1: error: stray '\240' in program ifelse.cpp:26:1: error: stray '\302' in program { ^ ifelse.cpp:26:1: error: stray '\240' in program ifelse.cpp:26:1: error: stray '\302' in program ifelse.cpp:26:1: error: stray '\240' in program ifelse.cpp:26:1: error: stray '\302' in program ifelse.cpp:26:1: error: stray '\240' in program ifelse.cpp:26:1: error: stray '\302' in program ifelse.cpp:26:1: error: stray '\240' in program ifelse.cpp:26:1: error: stray '\302' in program ifelse.cpp:26:1: error: stray '\240' in program ifelse.cpp:26:1: error: stray '\302' in program ifelse.cpp:26:1: error: stray '\240' in program ifelse.cpp:26:1: error: stray '\302' in program ifelse.cpp:26:1: error: stray '\240' in program ifelse.cpp:26:1: error: stray '\302' in program ifelse.cpp:26:1: error: stray '\240' in program ifelse.cpp:26:1: error: stray '\302' in program ifelse.cpp:26:1: error: stray '\240' in program ifelse.cpp:26:1: error: stray '\302' in program ifelse.cpp:26:1: error: stray '\240' in program ifelse.cpp:26:1: error: stray '\302' in program ifelse.cpp:26:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program nrneg++; ^ ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:27:1: error: stray '\302' in program ifelse.cpp:27:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program nr=1; ^ ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:28:1: error: stray '\302' in program ifelse.cpp:28:1: error: stray '\240' in program ifelse.cpp:29:1: error: stray '\302' in program } ^ ifelse.cpp:29:1: error: stray '\240' in program ifelse.cpp:29:1: error: stray '\302' in program ifelse.cpp:29:1: error: stray '\240' in program ifelse.cpp:29:1: error: stray '\302' in program ifelse.cpp:29:1: error: stray '\240' in program ifelse.cpp:29:1: error: stray '\302' in program ifelse.cpp:29:1: error: stray '\240' in program ifelse.cpp:29:1: error: stray '\302' in program ifelse.cpp:29:1: error: stray '\240' in program ifelse.cpp:29:1: error: stray '\302' in program ifelse.cpp:29:1: error: stray '\240' in program ifelse.cpp:29:1: error: stray '\302' in program ifelse.cpp:29:1: error: stray '\240' in program ifelse.cpp:29:1: error: stray '\302' in program ifelse.cpp:29:1: error: stray '\240' in program ifelse.cpp:29:1: error: stray '\302' in program ifelse.cpp:29:1: error: stray '\240' in program ifelse.cpp:29:1: error: stray '\302' in program ifelse.cpp:29:1: error: stray '\240' in program ifelse.cpp:29:1: error: stray '\302' in program ifelse.cpp:29:1: error: stray '\240' in program ifelse.cpp:30:1: error: stray '\302' in program } ^ ifelse.cpp:30:1: error: stray '\240' in program ifelse.cpp:30:1: error: stray '\302' in program ifelse.cpp:30:1: error: stray '\240' in program ifelse.cpp:30:1: error: stray '\302' in program ifelse.cpp:30:1: error: stray '\240' in program ifelse.cpp:30:1: error: stray '\302' in program ifelse.cpp:30:1: error: stray '\240' in program ifelse.cpp:30:1: error: stray '\302' in program ifelse.cpp:30:1: error: stray '\240' in program ifelse.cpp:30:1: error: stray '\302' in program ifelse.cpp:30:1: error: stray '\240' in program ifelse.cpp:30:1: error: stray '\302' in program ifelse.cpp:30:1: error: stray '\240' in program ifelse.cpp:31:1: error: stray '\302' in program if (nrcuv%2==1) ^ ifelse.cpp:31:1: error: stray '\240' in program ifelse.cpp:31:1: error: stray '\302' in program ifelse.cpp:31:1: error: stray '\240' in program ifelse.cpp:31:1: error: stray '\302' in program ifelse.cpp:31:1: error: stray '\240' in program ifelse.cpp:31:1: error: stray '\302' in program ifelse.cpp:31:1: error: stray '\240' in program ifelse.cpp:31:1: error: stray '\302' in program ifelse.cpp:31:1: error: stray '\240' in program ifelse.cpp:31:1: error: stray '\302' in program ifelse.cpp:31:1: error: stray '\240' in program ifelse.cpp:31:1: error: stray '\302' in program ifelse.cpp:31:1: error: stray '\240' in program ifelse.cpp:32:1: error: stray '\302' in program cout<<"-1"<<endl; ^ ifelse.cpp:32:1: error: stray '\240' in program ifelse.cpp:32:1: error: stray '\302' in program ifelse.cpp:32:1: error: stray '\240' in program ifelse.cpp:32:1: error: stray '\302' in program ifelse.cpp:32:1: error: stray '\240' in program ifelse.cpp:32:1: error: stray '\302' in program ifelse.cpp:32:1: error: stray '\240' in program ifelse.cpp:32:1: error: stray '\302' in program ifelse.cpp:32:1: error: stray '\240' in program ifelse.cpp:32:1: error: stray '\302' in program ifelse.cpp:32:1: error: stray '\240' in program ifelse.cpp:32:1: error: stray '\302' in program ifelse.cpp:32:1: error: stray '\240' in program ifelse.cpp:32:1: error: stray '\302' in program ifelse.cpp:32:1: error: stray '\240' in program ifelse.cpp:32:1: error: stray '\302' in program ifelse.cpp:32:1: error: stray '\240' in program ifelse.cpp:32:1: error: stray '\302' in program ifelse.cpp:32:1: error: stray '\240' in program ifelse.cpp:32:1: error: stray '\302' in program ifelse.cpp:32:1: error: stray '\240' in program ifelse.cpp:33:1: error: stray '\302' in program else ^ ifelse.cpp:33:1: error: stray '\240' in program ifelse.cpp:33:1: error: stray '\302' in program ifelse.cpp:33:1: error: stray '\240' in program ifelse.cpp:33:1: error: stray '\302' in program ifelse.cpp:33:1: error: stray '\240' in program ifelse.cpp:33:1: error: stray '\302' in program ifelse.cpp:33:1: error: stray '\240' in program ifelse.cpp:33:1: error: stray '\302' in program ifelse.cpp:33:1: error: stray '\240' in program ifelse.cpp:33:1: error: stray '\302' in program ifelse.cpp:33:1: error: stray '\240' in program ifelse.cpp:33:1: error: stray '\302' in program ifelse.cpp:33:1: error: stray '\240' in program ifelse.cpp:34:1: error: stray '\302' in program cout<<nrneg+nr/2<<endl; ^ ifelse.cpp:34:1: error: stray '\240' in program ifelse.cpp:34:1: error: stray '\302' in program ifelse.cpp:34:1: error: stray '\240' in program ifelse.cpp:34:1: error: stray '\302' in program ifelse.cpp:34:1: error: stray '\240' in program ifelse.cpp:34:1: error: stray '\302' in program ifelse.cpp:34:1: error: stray '\240' in program ifelse.cpp:34:1: error: stray '\302' in program ifelse.cpp:34:1: error: stray '\240' in program ifelse.cpp:34:1: error: stray '\302' in program ifelse.cpp:34:1: error: stray '\240' in program ifelse.cpp:34:1: error: stray '\302' in program ifelse.cpp:34:1: error: stray '\240' in program ifelse.cpp:34:1: error: stray '\302' in program ifelse.cpp:34:1: error: stray '\240' in program ifelse.cpp:34:1: error: stray '\302' in program ifelse.cpp:34:1: error: stray '\240' in program ifelse.cpp:34:1: error: stray '\302' in program ifelse.cpp:34:1: error: stray '\240' in program ifelse.cpp:34:1: error: stray '\302' in program ifelse.cpp:34:1: error: stray '\240' in program ifelse.cpp:35:1: error: stray '\302' in program } ^ ifelse.cpp:35:1: error: stray '\240' in program ifelse.cpp:35:1: error: stray '\302' in program ifelse.cpp:35:1: error: stray '\240' in program ifelse.cpp:35:1: error: stray '\302' in program ifelse.cpp:35:1: error: stray '\240' in program ifelse.cpp:36:1: error: stray '\302' in program return 0; ^ ifelse.cpp:36:1: error: stray '\240' in program ifelse.cpp:36:1: error: stray '\302' in program ifelse.cpp:36:1: error: stray '\240' in program ifelse.cpp:36:1: error: stray '\302' in program ifelse.cpp:36:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ifelse 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ă.