Pagini recente » Borderou de evaluare (job #2811235) | Borderou de evaluare (job #2654114) | Borderou de evaluare (job #1359616) | Borderou de evaluare (job #2385725) | Borderou de evaluare (job #2739058)
Borderou de evaluare (job #2739058)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:38:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<=graf[nod].size()-1; ++i)
~^~~~~~~~~~~~~~~~~~~~
main.cpp:43:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(drum[lant[graf[nod][i]]].size() > maxim)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp:65:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<=graf[nod].size()-1; ++i)
~^~~~~~~~~~~~~~~~~~~~
main.cpp:22:22: warning: unused variable 't' [-Wunused-variable]
int maxim,imax,i,t,ultim;
^
main.cpp: In function 'int main()':
main.cpp:175:21: warning: unused variable 'a' [-Wunused-variable]
int a=(-1)*( nivel[tata[lant[x]]] - nivel[x] + 1);
^
main.cpp:176:21: warning: unused variable 'b' [-Wunused-variable]
int b=drum[lant[x]].size()-1;
^
main.cpp:126:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n,&m);
^
main.cpp:128:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a[i]);
^
main.cpp:131:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &x,&y);
^
main.cpp:160:40: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &t,&x,&y);
^
main.cpp: In function 'void dfs(int, int)':
main.cpp:66:30: warning: 'ultim' may be used uninitialized in this function [-Wmaybe-uninitialized]
if( graf[nod][i]!=ultim and nivel[graf[nod][i]]>nivel[nod])
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 17ms | 7340kb | OK | 5 | 10 |
2 | 17ms | 7340kb | OK | 5 |
3 | 26ms | 7471kb | OK | 5 | 10 |
4 | 36ms | 7602kb | OK | 5 |
5 | 201ms | 11272kb | OK | 5 | 0 |
6 | 603ms | 9568kb | Time limit exceeded | 0 |
7 | 185ms | 11141kb | OK | 5 |
8 | 603ms | 9699kb | Time limit exceeded | 0 |
9 | 321ms | 15073kb | OK | 5 | 0 |
10 | 601ms | 11534kb | Time limit exceeded | 0 |
11 | 310ms | 14548kb | OK | 5 |
12 | 600ms | 11534kb | Time limit exceeded | 0 |
13 | 364ms | 16646kb | OK | 5 | 0 |
14 | 603ms | 12976kb | Time limit exceeded | 0 |
15 | 328ms | 17301kb | OK | 5 |
16 | 603ms | 12845kb | Time limit exceeded | 0 |
17 | 389ms | 19001kb | OK | 5 | 0 |
18 | 602ms | 14286kb | Time limit exceeded | 0 |
19 | 464ms | 18612kb | OK | 5 |
20 | 603ms | 14286kb | Time limit exceeded | 0 |
Punctaj total | 20 |