Pagini recente » Borderou de evaluare (job #2648755) | Borderou de evaluare (job #2509900) | Borderou de evaluare (job #2618944) | Borderou de evaluare (job #908916) | Borderou de evaluare (job #1487283)
Borderou de evaluare (job #1487283)
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 | 296kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 80ms | 596kb | OK | 10 |
4 | Depăşit | 576kb | Time limit exceeded. | 0 |
5 | 8ms | 448kb | OK | 10 |
6 | 0ms | 316kb | OK | 10 |
7 | 0ms | 364kb | OK | 10 |
8 | 0ms | 280kb | Incorect | 0 |
9 | 24ms | 584kb | OK | 10 |
10 | 32ms | 592kb | OK | 10 |
Punctaj total | 80 |