Pagini recente » Borderou de evaluare (job #1782647) | Borderou de evaluare (job #226765) | Borderou de evaluare (job #197490) | Borderou de evaluare (job #574843) | Borderou de evaluare (job #2106853)
Borderou de evaluare (job #2106853)
Raport evaluator
Compilare:
user.cpp: In function ‘std::string getNextString()’:
user.cpp:12:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %s", c);
^
user.cpp: In function ‘int main()’:
user.cpp:26:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.in", "r", stdin);
^
user.cpp:27:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.out", "w", stdout);
^
user.cpp:29:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &l);
^
user.cpp:31:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < l; ++i) scanf("%d", cost + i), wtf[i] = -1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | Cool! | 10 |
2 | 0ms | 468kb | Cool! | 10 |
3 | 0ms | 468kb | Cool! | 10 |
4 | 12ms | 488kb | Cool! | 10 |
5 | 20ms | 504kb | Cool! | 10 |
6 | 84ms | 536kb | Cool! | 10 |
7 | 152ms | 604kb | Cool! | 10 |
8 | 228ms | 604kb | Cool! | 10 |
9 | 448ms | 740kb | Cool! | 10 |
10 | 452ms | 744kb | Cool! | 10 |
Punctaj total | 100 |