Pagini recente » Borderou de evaluare (job #1110755) | Borderou de evaluare (job #3183476) | Borderou de evaluare (job #1111439) | Borderou de evaluare (job #1533978) | Borderou de evaluare (job #1405399)
Borderou de evaluare (job #1405399)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &n, &m);
^
user.cpp:8:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:12:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &x);
^
user.cpp:20:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &q);
^
user.cpp:23:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &x);
^
user.cpp:35:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", x);
^
user.cpp:6:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.in", "r", stdin);
^
user.cpp:7:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.out", "w", stdout);
^
user.cpp:8:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 296kb | OK | 10 |
| 3 | 12ms | 432kb | Incorect | 0 |
| 4 | 28ms | 612kb | OK | 10 |
| 5 | 40ms | 748kb | OK | 10 |
| 6 | 56ms | 892kb | Incorect | 0 |
| 7 | 76ms | 1248kb | OK | 10 |
| 8 | 104ms | 1452kb | Incorect | 0 |
| 9 | 144ms | 1664kb | Incorect | 0 |
| 10 | 0ms | 264kb | OK | 10 |
| Punctaj total | 60 |