Pagini recente » Borderou de evaluare (job #2395676) | Borderou de evaluare (job #3196559) | Borderou de evaluare (job #3292753) | Borderou de evaluare (job #2573993) | Borderou de evaluare (job #2518238)
Borderou de evaluare (job #2518238)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&n);
^
main.cpp:25:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d",&v[i].h,&v[i].f);
^
main.cpp:25:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:46:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
for(i=1;i<=n;i++)printf("%d\n",max(maxs[i],maxd[i]));
^
main.cpp:19:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("turnuri2.in","r",stdin);
^
main.cpp:20:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("turnuri2.out","w",stdout);
^
main.cpp:22:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:25:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].h,&v[i].f);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 3ms | 262kb | OK | 10 | 10 |
4 | 76ms | 3932kb | OK | 10 | 20 |
5 | 70ms | 3407kb | OK | 10 |
6 | 100ms | 5636kb | OK | 10 | 20 |
7 | 113ms | 5607kb | OK | 10 |
8 | 553ms | 36110kb | Memory limit exceeded | 0 | 0 |
9 | 547ms | 36110kb | Memory limit exceeded | 0 |
10 | 716ms | 36110kb | Memory limit exceeded | 0 |
Punctaj total | 70 |