Pagini recente » Borderou de evaluare (job #3231918) | Borderou de evaluare (job #2261054) | Borderou de evaluare (job #1118217) | Borderou de evaluare (job #761351) | Borderou de evaluare (job #1336895)
Borderou de evaluare (job #1336895)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("monezi2.in","r",stdin);
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("monezi2.out","w",stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:14:41: 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]);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &Q);
^
user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1016kb | OK | 10 |
2 | 0ms | 1016kb | OK | 10 |
3 | 0ms | 1016kb | OK | 10 |
4 | 4ms | 1012kb | OK | 10 |
5 | 4ms | 1016kb | OK | 10 |
6 | 8ms | 1016kb | OK | 10 |
7 | 8ms | 1016kb | OK | 10 |
8 | 12ms | 1020kb | OK | 10 |
9 | 12ms | 1016kb | OK | 10 |
10 | 16ms | 1020kb | OK | 10 |
Punctaj total | 100 |