Pagini recente » Borderou de evaluare (job #2475692) | Borderou de evaluare (job #3005155) | Borderou de evaluare (job #2248628) | Borderou de evaluare (job #3272064) | Borderou de evaluare (job #2207379)
Borderou de evaluare (job #2207379)
Raport evaluator
Compilare:
user.cpp: In function ‘void Fill(std::pair<int, int>)’:
user.cpp:46:49: warning: narrowing conversion of ‘(distante[dist].std::vector<_Tp, _Alloc>::size<int, std::allocator<int> >() - 1u)’ from ‘std::vector<int>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
v.push_back({dist, 0, distante[dist].size() - 1, tmp});
~~~~~~~~~~~~~~~~~~~~~~^~~
user.cpp: In function ‘int main()’:
user.cpp:126:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
buf[m + 1] = NULL;
^~~~
user.cpp:77:11: warning: unused variable ‘fout’ [-Wunused-variable]
FILE *fout=fopen("gravity.out", "w");
^~~~
user.cpp:78:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d ", &n, &m);
^
user.cpp: In function ‘char nextch()’:
user.cpp:70:56: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(pos==BUF_SIZE) fread(buf, BUF_SIZE, 1, f), pos=0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 8172kb | OK! | 10 | 32 |
2 | 16ms | 8184kb | OK! | 10 |
3 | 12ms | 8172kb | OK! | 12 |
4 | 420ms | 41736kb | OK! | 7 | 14 |
5 | 424ms | 42140kb | OK! | 7 |
6 | 400ms | 34548kb | OK! | 13 | 51 |
7 | 4ms | 7520kb | OK! | 13 |
8 | 396ms | 34044kb | OK! | 13 |
9 | 176ms | 21500kb | OK! | 10 |
10 | 416ms | 35344kb | OK! | 2 |
11 | Depăşit | 110576kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 97 |