Pagini recente » Borderou de evaluare (job #1489620) | Borderou de evaluare (job #2972186) | Borderou de evaluare (job #3167185) | Borderou de evaluare (job #2816386) | Borderou de evaluare (job #680520)
Borderou de evaluare (job #680520)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:34: 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:30:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:30:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:32:37: 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:32:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("zmeu2.in", "r", stdin);
^
user.cpp:28:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("zmeu2.out", "w", stdout);
^
user.cpp:30:35: 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:32:38: 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:38:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 268kb | OK | 10 |
3 | 8ms | 312kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 8ms | 300kb | OK | 10 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 0ms | 276kb | Incorect | 0 |
8 | 0ms | 272kb | Incorect | 0 |
9 | 0ms | 304kb | Incorect | 0 |
10 | 8ms | 308kb | Incorect | 0 |
Punctaj total | 20 |