Pagini recente » Cod sursa (job #952962) | Cod sursa (job #397426) | Cod sursa (job #855000) | Borderou de evaluare (job #1536824) | Borderou de evaluare (job #1516123)
Borderou de evaluare (job #1516123)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:63:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
if (xx==0) fprintf(g,"%ld\n",-1);
^
user.cpp:42:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld %ld\n", &n, &sum);
^
user.cpp:44:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) fscanf(f,"%ld", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 268kb | OK! | 5 | 5 |
| 2 | 0ms | 280kb | OK! | 5 | 5 |
| 3 | 0ms | 276kb | OK! | 5 | 15 |
| 4 | 0ms | 292kb | OK! | 5 |
| 5 | 40ms | 5648kb | OK! | 5 |
| 6 | 44ms | 5640kb | OK! | 5 | 15 |
| 7 | 0ms | 460kb | OK! | 5 |
| 8 | 0ms | 536kb | OK! | 5 |
| 9 | 44ms | 5636kb | OK! | 5 | 15 |
| 10 | 4ms | 784kb | OK! | 5 |
| 11 | 4ms | 964kb | OK! | 5 |
| 12 | 8ms | 1148kb | OK! | 5 | 5 |
| 13 | 12ms | 1704kb | OK! | 5 | 5 |
| 14 | 16ms | 2068kb | OK! | 5 | 5 |
| 15 | 24ms | 2560kb | OK! | 5 | 5 |
| 16 | 28ms | 3148kb | OK! | 5 | 5 |
| 17 | 40ms | 4068kb | OK! | 5 | 5 |
| 18 | 52ms | 4884kb | OK! | 5 | 5 |
| 19 | 56ms | 5332kb | OK! | 5 | 5 |
| 20 | 60ms | 5636kb | OK! | 5 | 5 |
| Punctaj total | 100 |