Pagini recente » Borderou de evaluare (job #1602606) | Borderou de evaluare (job #1780989) | Borderou de evaluare (job #2511804) | Borderou de evaluare (job #249493) | Borderou de evaluare (job #2403848)
Borderou de evaluare (job #2403848)
Raport evaluator
Compilare:
main.cpp: In member function 'InParser& InParser::operator>>(int&)':
main.cpp:34:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (!isdigit(c = read_ch()) && c != '-');
^~~~~
main.cpp:35:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
int sgn = 1;
^~~
main.cpp: In function 'int main()':
main.cpp:199:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("popcorn.out", "w", stdout);
^
main.cpp: In member function 'char InParser::read_ch()':
main.cpp:20:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, 131072, fin);
^
main.cpp: In function 'int solve(int, int)':
main.cpp:194:21: warning: 'cost' may be used uninitialized in this function [-Wmaybe-uninitialized]
return cost + k * last;
^~~~
main.cpp:194:19: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
return cost + k * last;
~~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 1966kb | OK | 5 |
2 | 8ms | 1966kb | OK | 5 |
3 | 16ms | 1966kb | OK | 5 |
4 | 18ms | 1966kb | OK | 5 |
5 | 15ms | 1966kb | OK | 5 |
6 | 17ms | 1966kb | OK | 5 |
7 | 215ms | 3407kb | OK | 5 |
8 | 217ms | 3670kb | OK | 5 |
9 | 171ms | 3276kb | OK | 5 |
10 | 174ms | 3145kb | OK | 5 |
11 | 183ms | 3276kb | OK | 5 |
12 | 189ms | 3276kb | OK | 5 |
13 | 887ms | 9306kb | OK | 5 |
14 | 912ms | 9830kb | OK | 5 |
15 | 1090ms | 10485kb | OK | 5 |
16 | 159ms | 3407kb | OK | 5 |
17 | 185ms | 3407kb | OK | 5 |
18 | 175ms | 3407kb | OK | 5 |
19 | 633ms | 6946kb | OK | 5 |
20 | 736ms | 8519kb | OK | 5 |
Punctaj total | 100 |