Pagini recente » Borderou de evaluare (job #1709661) | Borderou de evaluare (job #6334) | Borderou de evaluare (job #1859690) | Borderou de evaluare (job #312018) | Borderou de evaluare (job #2492519)
Borderou de evaluare (job #2492519)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d",&n,&p);
^
main.cpp:41:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d",l);
^
main.cpp:10:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.in","r",stdin);
^
main.cpp:11:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.out","w",stdout);
^
main.cpp:13:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&p);
^
main.cpp:15: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 |
Punctaj/grupa |
1 | 69ms | 204kb | Incorect | 0 | 0 |
2 | 70ms | 200kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 | 20 |
4 | 2ms | 131kb | OK | 10 |
5 | 900ms | 524kb | Time limit exceeded | 0 | 0 |
6 | 900ms | 393kb | Time limit exceeded | 0 |
7 | 217ms | 2174kb | Incorect | 0 | 0 |
8 | 9ms | 262kb | Incorect | 0 |
9 | 4ms | 131kb | Incorect | 0 |
10 | 170ms | 2097kb | OK | 10 |
Punctaj total | 20 |