Pagini recente » Borderou de evaluare (job #1411641) | Borderou de evaluare (job #3190986) | Borderou de evaluare (job #1763670) | Borderou de evaluare (job #1592930) | Borderou de evaluare (job #2633398)
Borderou de evaluare (job #2633398)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:23: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%ld %ld",&a,&b);
^
main.cpp:17:23: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
main.cpp:89:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
printf("%ld %ld %ld\n",a+poz-1,max,contor);
^
main.cpp:89:44: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
main.cpp:89:44: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=]
main.cpp:13:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.in","r",stdin);
^
main.cpp:15:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.out","w",stdout);
^
main.cpp:17:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 53ms | 262kb | Time limit exceeded | 0 | 0 |
| 2 | 53ms | 262kb | Time limit exceeded | 0 |
| 3 | 53ms | 262kb | Time limit exceeded | 0 |
| 4 | 53ms | 262kb | Time limit exceeded | 0 |
| 5 | 53ms | 262kb | Time limit exceeded | 0 | 0 |
| 6 | 53ms | 262kb | Time limit exceeded | 0 |
| 7 | 6ms | 262kb | OK | 10 |
| 8 | 53ms | 262kb | Time limit exceeded | 0 | 0 |
| 9 | 53ms | 262kb | Time limit exceeded | 0 |
| 10 | 53ms | 262kb | Time limit exceeded | 0 |
| Punctaj total | 0 |