Pagini recente » Cod sursa (job #2627577) | Borderou de evaluare (job #1214097) | Borderou de evaluare (job #1330783) | Cod sursa (job #428267) | Borderou de evaluare (job #2414897)
Borderou de evaluare (job #2414897)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:10: warning: statement has no effect [-Wunused-value]
for(t;t;--t){
^
main.cpp:19:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("euro3.in","r",stdin);
^
main.cpp:20:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("euro3.out","w",stdout);
^
main.cpp:22:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:24:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n,&val);
^
main.cpp:26:31: 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 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 4ms | 131kb | OK | 10 |
6 | 57ms | 262kb | OK | 10 |
7 | 117ms | 262kb | OK | 10 |
8 | 194ms | 262kb | OK | 10 |
9 | 233ms | 262kb | OK | 10 |
10 | 243ms | 262kb | OK | 10 |
Punctaj total | 100 |