Pagini recente » Borderou de evaluare (job #2668549) | Borderou de evaluare (job #2815527) | Borderou de evaluare (job #1922086) | Borderou de evaluare (job #2937169) | Borderou de evaluare (job #2404894)
Borderou de evaluare (job #2404894)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:39:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d",sum);
^
main.cpp:26:10: warning: unused variable 'ok' [-Wunused-variable]
bool ok=1;
^~
main.cpp:28:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag.in","r",stdin);
^
main.cpp:29:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag.out","w",stdout);
^
main.cpp:31:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&k,&p);
^
main.cpp:33:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 131kb | Incorect | 0 | 0 |
2 | 3ms | 131kb | OK | 10 |
3 | 4ms | 131kb | OK | 10 | 10 |
4 | 8ms | 262kb | Incorect | 0 | 0 |
5 | 9ms | 262kb | Incorect | 0 | 0 |
6 | 58ms | 917kb | OK | 10 | 10 |
7 | 63ms | 917kb | OK | 10 | 10 |
8 | 55ms | 1048kb | OK | 10 | 10 |
9 | 16ms | 262kb | OK | 10 | 10 |
10 | 69ms | 917kb | OK | 10 | 10 |
Punctaj total | 60 |