Pagini recente » Borderou de evaluare (job #2055618) | Borderou de evaluare (job #3259670) | Borderou de evaluare (job #3246151) | Borderou de evaluare (job #3278204) | Borderou de evaluare (job #2515785)
Borderou de evaluare (job #2515785)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&n);
^
main.cpp:22:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&v[i]);
^
main.cpp:36:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d %d",p1,p2);
^
main.cpp:36:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
main.cpp:17:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.in","r",stdin);
^
main.cpp:18:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.out","w",stdout);
^
main.cpp:20:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:22: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 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 38ms | 1703kb | OK | 10 |
6 | 40ms | 1703kb | OK | 10 |
7 | 40ms | 1703kb | OK | 10 |
8 | 318ms | 16121kb | OK | 10 |
9 | 297ms | 16121kb | OK | 10 |
10 | 320ms | 16121kb | OK | 10 |
Punctaj total | 100 |