Pagini recente » Borderou de evaluare (job #2898018) | Borderou de evaluare (job #1673172) | Borderou de evaluare (job #2291333) | Borderou de evaluare (job #642229) | Borderou de evaluare (job #1242261)
Borderou de evaluare (job #1242261)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d%d%d", &n, &d, &k);
^
user.cpp:8:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:8:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:24:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
else fprintf(fout, "%d", a[n-k*d-1][d-1]);
^
user.cpp:8:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &n, &d, &k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 300kb | Incorect | 0 |
| 2 | 0ms | 252kb | Incorect | 0 |
| 3 | 0ms | 248kb | OK | 10 |
| 4 | 0ms | 460kb | Incorect | 0 |
| 5 | 0ms | 252kb | OK | 10 |
| 6 | 0ms | 480kb | Incorect | 0 |
| 7 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 288kb | Incorect | 0 |
| 9 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 244kb | OK | 10 |
| Punctaj total | 30 |