Pagini recente » Borderou de evaluare (job #2621248) | Cod sursa (job #456933) | Borderou de evaluare (job #2892951) | Cod sursa (job #2103181) | Borderou de evaluare (job #1941962)
Borderou de evaluare (job #1941962)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:27:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(in, "%d", &n);
^
user.cpp:29:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(in, "%d", &arr[i]);
^
user.cpp: In function ‘void print()’:
user.cpp:60:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(out, "%d", mat[1][n]);
^
user.cpp: In function ‘void read()’:
user.cpp:27:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.cpp:29:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &arr[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 472kb | OK | 10 |
| 2 | 0ms | 472kb | OK | 10 |
| 3 | 0ms | 528kb | OK | 10 |
| 4 | 0ms | 608kb | OK | 10 |
| 5 | 0ms | 648kb | OK | 10 |
| 6 | 0ms | 844kb | OK | 10 |
| 7 | 20ms | 1244kb | OK | 10 |
| 8 | 76ms | 1652kb | OK | 10 |
| 9 | 184ms | 2052kb | Incorect | 0 |
| 10 | 364ms | 2444kb | Incorect | 0 |
| Punctaj total | 80 |