Pagini recente » Borderou de evaluare (job #883996) | Borderou de evaluare (job #3185635) | Borderou de evaluare (job #2602244) | Borderou de evaluare (job #1567338) | Borderou de evaluare (job #1486134)
Borderou de evaluare (job #1486134)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:21:15: warning: unused variable ‘val’ [-Wunused-variable]
long long val;
^
user.cpp: In function ‘void write()’:
user.cpp:62:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", sol);
^
user.cpp: In function ‘void read()’:
user.cpp:13:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sao.in", "r", stdin);
^
user.cpp:14:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %lld", &n, &k, &hp);
^
user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &d[i]);
^
user.cpp: In function ‘void write()’:
user.cpp:61:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sao.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 10 |
| 2 | 0ms | 292kb | OK | 10 |
| 3 | 0ms | 304kb | OK | 10 |
| 4 | 0ms | 316kb | OK | 10 |
| 5 | 28ms | 1564kb | OK | 10 |
| 6 | 40ms | 1956kb | OK | 10 |
| 7 | 44ms | 1956kb | OK | 10 |
| 8 | 40ms | 1956kb | OK | 10 |
| 9 | 44ms | 1956kb | OK | 10 |
| 10 | 40ms | 1952kb | OK | 10 |
| Punctaj total | 100 |