Pagini recente » Borderou de evaluare (job #2511702) | Borderou de evaluare (job #2396486) | Borderou de evaluare (job #842909) | Borderou de evaluare (job #2932371) | Borderou de evaluare (job #2207142)
Borderou de evaluare (job #2207142)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:118:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
buf[m + 1] = NULL;
^~~~
user.cpp:69:11: warning: unused variable ‘fout’ [-Wunused-variable]
FILE *fout=fopen("gravity.out", "w");
^~~~
user.cpp:70: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:62: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 | 36ms | 18388kb | OK! | 10 | 32 |
2 | 40ms | 18476kb | OK! | 10 |
3 | 36ms | 18384kb | OK! | 12 |
4 | 704ms | 49968kb | OK! | 7 | 14 |
5 | 720ms | 50312kb | OK! | 7 |
6 | 584ms | 39428kb | OK! | 13 | 51 |
7 | 24ms | 19616kb | OK! | 13 |
8 | 580ms | 39404kb | OK! | 13 |
9 | 180ms | 24396kb | OK! | 10 |
10 | 612ms | 40448kb | OK! | 2 |
11 | 1020ms | Depăşit | Memory limit exceeded. | 0 | 0 |
Punctaj total | 97 |