Pagini recente » Borderou de evaluare (job #1900510) | Borderou de evaluare (job #611531) | Borderou de evaluare (job #2496544) | Clasament ubb-1 | Borderou de evaluare (job #1709682)
Borderou de evaluare (job #1709682)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:87:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d", &n);
^
user.cpp:89:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d", &a[i]);
^
user.cpp:97:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout, "%d\n", rez);
^
user.cpp:87:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:89:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 460kb | OK | 10 | 0 |
| 2 | 0ms | 464kb | OK | 10 |
| 3 | 0ms | 460kb | OK | 10 |
| 4 | 0ms | 460kb | OK | 10 |
| 5 | Depăşit | 412kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 444kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 452kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 840kb | Time limit exceeded. | 0 |
| 9 | 24ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 24ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |