Pagini recente » Borderou de evaluare (job #3198860) | Borderou de evaluare (job #1903196) | Borderou de evaluare (job #1488675) | Cod sursa (job #2332455) | Borderou de evaluare (job #1560401)
Borderou de evaluare (job #1560401)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d\n", &N);
^
user.cpp:26:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ", &a[i]);
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie.in","r",stdin);
^
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie.out","w",stdout);
^
user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:26:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 0ms | 436kb | Incorect | 0 |
| 3 | 0ms | 436kb | Incorect | 0 |
| 4 | 0ms | 436kb | Incorect | 0 |
| 5 | 0ms | 436kb | OK | 10 |
| 6 | 0ms | 436kb | OK | 10 |
| 7 | 0ms | 432kb | Incorect | 0 |
| 8 | 0ms | 436kb | Incorect | 0 |
| 9 | 0ms | 440kb | Incorect | 0 |
| 10 | 0ms | 432kb | OK | 10 |
| Punctaj total | 40 |