Pagini recente » Borderou de evaluare (job #632462) | Borderou de evaluare (job #2740199) | Borderou de evaluare (job #935486) | Borderou de evaluare (job #1008199) | Borderou de evaluare (job #1608963)
Borderou de evaluare (job #1608963)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<q.size();i++)
^
user.cpp:18:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar2.in", "r", stdin);
^
user.cpp:19:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar2.out", "w", stdout);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:22:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 324kb | OK | 10 |
5 | 0ms | 324kb | OK | 10 |
6 | 0ms | 296kb | OK | 10 |
7 | 0ms | 320kb | OK | 10 |
8 | 0ms | 372kb | OK | 10 |
9 | 0ms | 328kb | OK | 10 |
10 | 0ms | 324kb | OK | 10 |
Punctaj total | 100 |