Pagini recente » Cod sursa (job #87673) | Cod sursa (job #89913) | Borderou de evaluare (job #2402119) | Cod sursa (job #920161) | Borderou de evaluare (job #1577454)
Borderou de evaluare (job #1577454)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d%d", &x, &y, &n, &r);
^
user.cpp:34:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &dir);
^
user.cpp:60:35: warning: ‘ar’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d", n * n - ar);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | Corect | 10 |
| 2 | 0ms | 472kb | Corect | 10 |
| 3 | 0ms | 472kb | Corect | 10 |
| 4 | 0ms | 480kb | Corect | 10 |
| 5 | 0ms | 476kb | Corect | 10 |
| 6 | 0ms | 468kb | Corect | 10 |
| 7 | 0ms | 472kb | Corect | 10 |
| 8 | 0ms | 484kb | Corect | 10 |
| 9 | 0ms | 484kb | Corect | 10 |
| 10 | 0ms | 480kb | Corect | 10 |
| Punctaj total | 100 |