Pagini recente » Borderou de evaluare (job #3051407) | Borderou de evaluare (job #3097890) | Borderou de evaluare (job #3075215) | Borderou de evaluare (job #1874884) | Borderou de evaluare (job #1630496)
Borderou de evaluare (job #1630496)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &a);
^
user.cpp:18:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &a);
^
user.cpp:34:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d %d", smax, pozmin+1, pozmax+1);
^
user.cpp:34:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:34:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.in","r",stdin);
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.out","w",stdout);
^
user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &n);
^
user.cpp:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
user.cpp:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 5 |
| 2 | 0ms | 256kb | OK | 5 |
| 3 | 0ms | 256kb | Incorect | 0 |
| 4 | 0ms | 260kb | Incorect | 0 |
| 5 | 0ms | 260kb | Incorect | 0 |
| 6 | 0ms | 260kb | OK | 5 |
| 7 | 4ms | 260kb | Incorect | 0 |
| 8 | 4ms | 264kb | OK | 5 |
| 9 | 20ms | 264kb | Incorect | 0 |
| 10 | 44ms | 264kb | Incorect | 0 |
| 11 | 88ms | 264kb | Incorect | 0 |
| 12 | 136ms | 264kb | Incorect | 0 |
| 13 | 172ms | 264kb | OK | 5 |
| 14 | 228ms | 260kb | OK | 5 |
| 15 | 1028ms | 256kb | OK | 5 |
| 16 | 1136ms | 264kb | OK | 5 |
| 17 | 1076ms | 260kb | OK | 5 |
| 18 | 1224ms | 260kb | OK | 5 |
| 19 | 1232ms | 256kb | OK | 5 |
| 20 | 1176ms | 260kb | OK | 5 |
| Punctaj total | 60 |