Pagini recente » Borderou de evaluare (job #2096072) | Borderou de evaluare (job #3131328) | Borderou de evaluare (job #6313) | Borderou de evaluare (job #1664362) | Borderou de evaluare (job #2515778)
Borderou de evaluare (job #2515778)
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 | Incorect | 0 |
5 | 37ms | 1703kb | Incorect | 0 |
6 | 39ms | 1703kb | OK | 10 |
7 | 37ms | 1703kb | OK | 10 |
8 | 315ms | 16121kb | Incorect | 0 |
9 | 309ms | 16146kb | Incorect | 0 |
10 | 315ms | 16121kb | OK | 10 |
Punctaj total | 60 |