Borderou de evaluare (job #2166677)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(out, "%d", rez);
^
user.cpp:8:19: warning: unused variable ‘a’ [-Wunused-variable]
int n, i, j, k, a, b, x;
^
user.cpp:8:22: warning: unused variable ‘b’ [-Wunused-variable]
int n, i, j, k, a, b, x;
^
user.cpp:9:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.cpp:11:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 96ms | 1248kb | OK | 10 | 10 |
| 2 | 96ms | 1336kb | OK | 10 | 10 |
| 3 | 416ms | 1340kb | OK | 10 | 10 |
| 4 | 96ms | 1372kb | OK | 10 | 10 |
| 5 | 96ms | 1336kb | OK | 10 | 10 |
| 6 | 96ms | 1340kb | OK | 10 | 10 |
| 7 | 416ms | 1240kb | OK | 10 | 40 |
| 8 | 96ms | 1256kb | OK | 10 |
| 9 | 96ms | 1332kb | OK | 10 |
| 10 | 96ms | 1284kb | OK | 10 |
| Punctaj total | 100 |