Pagini recente » Borderou de evaluare (job #3162654) | Borderou de evaluare (job #2343028) | Borderou de evaluare (job #1523321) | Borderou de evaluare (job #1091883) | Borderou de evaluare (job #2341497)
Borderou de evaluare (job #2341497)
Raport evaluator
Compilare:
main.cpp: In function 'void structura()':
main.cpp:47:5: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
*p=NULL;
^~~~
main.cpp: In function 'void fisier()':
main.cpp:72:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
for (i=poz; s[i]>='a' && s[i]<='z' || s[i]<='9' && s[i]>='0'; i++) nf[i-poz]=s[i];
~~~~~~~~~~^~~~~~~~~~~~
main.cpp:73:12: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
nf[i-poz]=NULL;
^~~~
main.cpp: In function 'void citire()':
main.cpp:37:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s",s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |