Borderou de evaluare (job #2232612)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:15:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a);
^
user.cpp:20:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a);
^
user.cpp:35:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d %d\n", smax, pm, u);
^
user.cpp:35:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:35:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:11:34: 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:12:36: 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:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
user.cpp:20: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 | 872kb | Incorect | 0 |
| 2 | 0ms | 752kb | Incorect | 0 |
| 3 | 0ms | 756kb | Incorect | 0 |
| 4 | 0ms | 876kb | Incorect | 0 |
| 5 | 0ms | 812kb | Incorect | 0 |
| 6 | 0ms | 876kb | Incorect | 0 |
| 7 | 4ms | 804kb | Incorect | 0 |
| 8 | 8ms | 756kb | Incorect | 0 |
| 9 | 24ms | 804kb | Incorect | 0 |
| 10 | 56ms | 876kb | Incorect | 0 |
| 11 | 116ms | 816kb | Incorect | 0 |
| 12 | 172ms | 800kb | Incorect | 0 |
| 13 | 224ms | 876kb | Incorect | 0 |
| 14 | 280ms | 800kb | Incorect | 0 |
| 15 | 1232ms | 872kb | Incorect | 0 |
| 16 | 1372ms | 860kb | Incorect | 0 |
| 17 | 1364ms | 876kb | Incorect | 0 |
| 18 | 1476ms | 752kb | Incorect | 0 |
| 19 | 1452ms | 936kb | Incorect | 0 |
| 20 | 1460ms | 752kb | Incorect | 0 |
| Punctaj total | 0 |