Pagini recente » Borderou de evaluare (job #1464323) | Borderou de evaluare (job #2613542) | Borderou de evaluare (job #2512847) | Cod sursa (job #2508787) | Borderou de evaluare (job #1477423)
Borderou de evaluare (job #1477423)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:14:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %d", &n, &s, &t);
^
user.cpp:17:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &c[i], &p[i]);
^
user.cpp:17:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("branza.in", "r", stdin);
^
user.cpp:14:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &s, &t);
^
user.cpp:17:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &c[i], &p[i]);
^
user.cpp: In function ‘void print()’:
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("branza.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | OK | 10 | 0 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 336kb | Incorect | 0 |
4 | 32ms | 1052kb | Incorect | 0 | 0 |
5 | 52ms | 1540kb | OK | 10 |
6 | 56ms | 1700kb | OK | 10 |
7 | 64ms | 1836kb | OK | 10 | 10 |
8 | 60ms | 1832kb | OK | 10 | 10 |
9 | 60ms | 1832kb | OK | 10 | 10 |
10 | 60ms | 1836kb | OK | 10 | 10 |
Punctaj total | 40 |