Pagini recente » Borderou de evaluare (job #325918) | Borderou de evaluare (job #2933813) | Borderou de evaluare (job #342689) | Borderou de evaluare (job #740868) | Borderou de evaluare (job #1693731)
Borderou de evaluare (job #1693731)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve3()’:
user.cpp:97:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (all.size() < n) {
^
user.cpp:106:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = p; i < all.size() && get_min(all[i]) == crt_min; ++i) {
^
user.cpp:118:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = p; i < all.size() && get_min(all[i]) == crt_min; ++i) {
^
user.cpp: In function ‘void solve1()’:
user.cpp:19:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &k, &c);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int x; scanf("%d", &x);
^
user.cpp: In function ‘void solve2()’:
user.cpp:50:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &k, &c);
^
user.cpp:52:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int x; scanf("%d", &x);
^
user.cpp: In function ‘void solve3()’:
user.cpp:94:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &k, &c);
^
user.cpp: In function ‘int main()’:
user.cpp:140:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procol.in", "r", stdin);
^
user.cpp:141:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procol.out", "w", stdout);
^
user.cpp:144:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &type);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 492kb | OK | 10 |
2 | 128ms | 496kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 32ms | 488kb | OK | 10 |
5 | 36ms | 492kb | OK | 10 |
6 | 200ms | 3608kb | OK | 10 |
7 | 28ms | 3604kb | OK | 10 |
8 | 196ms | 3488kb | OK | 10 |
9 | 200ms | 3608kb | OK | 10 |
10 | 260ms | 5176kb | OK | 10 |
Punctaj total | 100 |