Pagini recente » Borderou de evaluare (job #1109036) | Borderou de evaluare (job #1665340) | Borderou de evaluare (job #974309) | Borderou de evaluare (job #1017808) | Borderou de evaluare (job #1590143)
Borderou de evaluare (job #1590143)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&nr);
^
user.cpp:28:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",i);
^
user.cpp:11:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:14:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&nr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 484kb | OK | 10 |
| 2 | 0ms | 504kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 600kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 604kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 600kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 600kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 604kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 600kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 600kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 604kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 10 |