Pagini recente » Borderou de evaluare (job #2729723) | Borderou de evaluare (job #1898592) | Borderou de evaluare (job #3276058) | Borderou de evaluare (job #2632636) | Borderou de evaluare (job #1487272)
Borderou de evaluare (job #1487272)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d", &n, &p, &k);
^
user.cpp:59:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:59:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:63:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &d[i], &c[i]);
^
user.cpp:63:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:71:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &x, &y);
^
user.cpp:71:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:54:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(infile, "r", stdin);
^
user.cpp:55:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outfile, "w", stdout);
^
user.cpp:59:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &p, &k);
^
user.cpp:63:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &d[i], &c[i]);
^
user.cpp:71:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 80ms | 600kb | OK | 10 |
4 | Depăşit | 584kb | Time limit exceeded. | 0 |
5 | 8ms | 460kb | OK | 10 |
6 | 0ms | 324kb | OK | 10 |
7 | 4ms | 400kb | OK | 10 |
8 | 0ms | 300kb | OK | 10 |
9 | 56ms | 672kb | OK | 10 |
10 | 68ms | 676kb | OK | 10 |
Punctaj total | 90 |