Pagini recente » Borderou de evaluare (job #1921917) | Borderou de evaluare (job #1234675) | Borderou de evaluare (job #267567) | Borderou de evaluare (job #412034) | Borderou de evaluare (job #2471868)
Borderou de evaluare (job #2471868)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:23: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[1000010]' [-Wformat=]
fscanf(fin,"%s",&v);
^
main.cpp:30:11: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
st[k]=NULL;
^~~~
main.cpp:10:10: warning: unused variable 'ch' [-Wunused-variable]
char ch;
^~
main.cpp:11:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d\n",&n,&m);
^
main.cpp:12:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%s",&v);
^
| 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 | 5ms | 262kb | OK | 10 |
| 7 | 5ms | 262kb | OK | 10 |
| 8 | 28ms | 2228kb | OK | 10 |
| 9 | 25ms | 3014kb | OK | 10 |
| 10 | 27ms | 2359kb | OK | 10 |
| Punctaj total | 100 |