Pagini recente » Borderou de evaluare (job #2174707) | Borderou de evaluare (job #2912157) | Borderou de evaluare (job #1503456) | Borderou de evaluare (job #2462667) | Borderou de evaluare (job #2274527)
Borderou de evaluare (job #2274527)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %d",&n,&nr);
^
main.cpp:10:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:11:18: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[55002]' [-Wformat=]
scanf("%s",&a);
^
main.cpp:43:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d\n",max1);
^
main.cpp:8:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.in","r",stdin);
^
main.cpp:9:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.out","w",stdout);
^
main.cpp:10:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&nr);
^
main.cpp:11:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 27ms | 131kb | OK | 10 |
4 | 22ms | 131kb | OK | 10 |
5 | 15ms | 131kb | OK | 10 |
6 | 12ms | 131kb | OK | 10 |
7 | 16ms | 131kb | OK | 10 |
8 | 14ms | 131kb | OK | 10 |
9 | 21ms | 262kb | OK | 10 |
10 | 26ms | 262kb | OK | 10 |
Punctaj total | 100 |