Pagini recente » Borderou de evaluare (job #2269078) | Cod sursa (job #2501191) | Borderou de evaluare (job #2383137) | Borderou de evaluare (job #3147278) | Borderou de evaluare (job #2020000)
Borderou de evaluare (job #2020000)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(tree*, char*, int, int, int)’:
user.cpp:38:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (nod->fii[ch]->val.size() < who - 1)
^
user.cpp: In function ‘void ins(tree*, char*, int, int)’:
user.cpp:50:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (nod->fii[ch] == 0 || nod->fii[ch]->val.size() < na) {
^
user.cpp: In function ‘void dfs(tree*, int, int, char)’:
user.cpp:60:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((nod->val.size() == na) || ad == 0) {
^
user.cpp: In function ‘int main()’:
user.cpp:77:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &na);
^
user.cpp:80:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(a[i], LG + 2, fin);
^
user.cpp:87:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &nb);
^
user.cpp:90:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(b[i], LG + 2, fin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 380kb | OK | 10 |
3 | 0ms | 500kb | OK | 10 |
4 | 0ms | 1160kb | OK | 10 |
5 | 8ms | 2276kb | OK | 10 |
6 | 12ms | 2820kb | OK | 10 |
7 | 24ms | 7348kb | OK | 10 |
8 | 28ms | 7764kb | OK | 10 |
9 | 36ms | 8536kb | OK | 10 |
10 | 28ms | 7612kb | OK | 10 |
Punctaj total | 100 |