Pagini recente » Borderou de evaluare (job #1138024) | Borderou de evaluare (job #2463509) | Borderou de evaluare (job #1422188) | Borderou de evaluare (job #1986197) | Borderou de evaluare (job #2739065)
Borderou de evaluare (job #2739065)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:39:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<=graf[nod].size()-1; ++i)
~^~~~~~~~~~~~~~~~~~~~
main.cpp:70: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:180:21: warning: unused variable 'a' [-Wunused-variable]
int a=(-1)*( nivel[tata[lant[x]]] - nivel[x] + 1);
^
main.cpp:181:21: warning: unused variable 'b' [-Wunused-variable]
int b=drum[lant[x]].size()-1;
^
main.cpp:131: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:133: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:136: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:165: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:71: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 | 14ms | 7340kb | OK | 5 | 10 |
2 | 17ms | 7340kb | OK | 5 |
3 | 26ms | 7471kb | OK | 5 | 10 |
4 | 36ms | 7602kb | OK | 5 |
5 | 603ms | 11272kb | Time limit exceeded | 0 | 0 |
6 | 139ms | 9699kb | OK | 5 |
7 | 600ms | 10878kb | Time limit exceeded | 0 |
8 | 144ms | 9830kb | OK | 5 |
9 | 602ms | 14811kb | Time limit exceeded | 0 | 0 |
10 | 200ms | 11796kb | OK | 5 |
11 | 603ms | 14155kb | Time limit exceeded | 0 |
12 | 236ms | 11796kb | OK | 5 |
13 | 600ms | 16097kb | Time limit exceeded | 0 | 0 |
14 | 330ms | 14024kb | OK | 5 |
15 | 603ms | 16777kb | Time limit exceeded | 0 |
16 | 347ms | 14155kb | OK | 5 |
17 | 600ms | 18481kb | Time limit exceeded | 0 | 0 |
18 | 393ms | 15466kb | OK | 5 |
19 | 600ms | 18087kb | Time limit exceeded | 0 |
20 | 427ms | 15466kb | OK | 5 |
Punctaj total | 20 |