Pagini recente » Borderou de evaluare (job #2083673) | Borderou de evaluare (job #2285950) | Borderou de evaluare (job #2890073) | Borderou de evaluare (job #3234549) | Borderou de evaluare (job #1249010)
Borderou de evaluare (job #1249010)
Raport evaluator
Compilare:
user.cpp: In function ‘int check(int)’:
user.cpp:12:9: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, t = 1, p = 0, val = 0;
^
user.cpp: In function ‘void read_and_solve()’:
user.cpp:27:9: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, k; long d = 0;
^
user.cpp:27:12: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k; long d = 0;
^
user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N), NR = 0;
^
user.cpp:30:62: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= N; i++) scanf("%d ", &A[i]), d += (long)A[i];
^
user.cpp: In function ‘int main()’:
user.cpp:42:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("auto.in", "rt", stdin);
^
user.cpp:43:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("auto.out", "wt", stdout);
^
user.cpp:45:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &teste);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | Incorect | 0 |
| 2 | 0ms | 272kb | Incorect | 0 |
| 3 | 16ms | 280kb | Incorect | 0 |
| 4 | 24ms | 280kb | Incorect | 0 |
| 5 | 20ms | 284kb | Incorect | 0 |
| 6 | 20ms | 284kb | Incorect | 0 |
| 7 | Depăşit | 348kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 352kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 348kb | Time limit exceeded. | 0 |
| 10 | 0ms | 264kb | Incorect | 0 |
| Punctaj total | 0 |