Pagini recente » Borderou de evaluare (job #458304) | Borderou de evaluare (job #1158791) | Borderou de evaluare (job #65974) | Borderou de evaluare (job #1136410) | Borderou de evaluare (job #2427741)
Borderou de evaluare (job #2427741)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:41:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",ans);
^
main.cpp:14:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aiacubiti.in" ,"r" ,stdin);
^
main.cpp:15:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aiacubiti.out" ,"w" ,stdout);
^
main.cpp:21:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:23:26: 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 | 10ms | 2883kb | OK | 10 |
2 | 33ms | 2883kb | OK | 10 |
3 | 3993ms | 21532kb | OK | 10 |
4 | 3993ms | 21540kb | OK | 10 |
5 | 3730ms | 21495kb | OK | 10 |
6 | 3741ms | 21495kb | OK | 10 |
7 | 3807ms | 21495kb | OK | 10 |
8 | 4001ms | 21495kb | Time limit exceeded | 0 |
9 | 4003ms | 21495kb | Time limit exceeded | 0 |
10 | 6ms | 1703kb | OK | 10 |
Punctaj total | 80 |