Pagini recente » Borderou de evaluare (job #733076) | Monitorul de evaluare | Borderou de evaluare (job #249398) | Borderou de evaluare (job #782385) | Borderou de evaluare (job #1786554)
Borderou de evaluare (job #1786554)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:44:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",rez[i]);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 744kb | OK | 10 |
| 2 | 36ms | 1832kb | Incorect | 0 |
| 3 | 116ms | 4684kb | Incorect | 0 |
| 4 | 224ms | 8076kb | Incorect | 0 |
| 5 | 36ms | 1524kb | Incorect | 0 |
| 6 | 24ms | 1056kb | Incorect | 0 |
| 7 | 28ms | 1680kb | OK | 10 |
| 8 | 0ms | 344kb | Incorect | 0 |
| 9 | 0ms | 332kb | OK | 10 |
| 10 | 0ms | 268kb | OK | 10 |
| Punctaj total | 40 |