Pagini recente » Borderou de evaluare (job #490937) | Borderou de evaluare (job #1659174) | Borderou de evaluare (job #3197110) | Borderou de evaluare (job #2415811) | Borderou de evaluare (job #2207377)
Borderou de evaluare (job #2207377)
Raport evaluator
Compilare:
user.cpp: In function ‘void Fill(std::pair<int, int>)’:
user.cpp:50: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:130:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
buf[m + 1] = NULL;
^~~~
user.cpp:81:11: warning: unused variable ‘fout’ [-Wunused-variable]
FILE *fout=fopen("gravity.out", "w");
^~~~
user.cpp:82: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:74: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 | 32ms | 16884kb | OK! | 10 | 32 |
2 | 32ms | 16896kb | OK! | 10 |
3 | 32ms | 16880kb | OK! | 12 |
4 | 420ms | 42528kb | OK! | 7 | 14 |
5 | 428ms | 42936kb | OK! | 7 |
6 | 404ms | 34548kb | OK! | 13 | 51 |
7 | 20ms | 16256kb | OK! | 13 |
8 | 400ms | 34572kb | OK! | 13 |
9 | 184ms | 21508kb | OK! | 10 |
10 | 420ms | 35348kb | OK! | 2 |
11 | Depăşit | 110516kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 97 |