Borderou de evaluare (job #2586459)

Utilizator Ruxandra985Nanu Ruxandra Laura Ruxandra985 Data 20 martie 2020 21:45:46
Problema KC Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void dfs(trie*)': main.cpp:38:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < nod->v.size() ; i++){ ~~^~~~~~~~~~~~~~~ main.cpp:46:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < nod->v.size() ; i++){ ~~^~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:58:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin,"%d%d\n",&n,&k); ^ main.cpp:59:37: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (initial+1 , n + 10 , fin); ^ main.cpp:63:35: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (s+1 , 100010 , fin); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/6/cstdio:42, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46, from main.cpp:1: In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:63:35: /usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms131kbOK510
23ms393kbOK5
359ms13631kbOK520
455ms12845kbOK5
565ms13762kbOK5
673ms15204kbOK5
767ms11272kbOK510
8171ms28442kbOK5
982ms13238kbOK520
10159ms28442kbOK5
11100ms23461kbOK5
1285ms25034kbOK5
1379ms13107kbOK540
14202ms21889kbOK5
15147ms28049kbOK5
1693ms25034kbOK5
1768ms13238kbOK5
18228ms22151kbOK5
1997ms23855kbOK5
20231ms2490kbOK5
Punctaj total100

Ceva nu functioneaza?