Pagini recente » Borderou de evaluare (job #1137693) | Borderou de evaluare (job #1233595) | Borderou de evaluare (job #2743403) | Borderou de evaluare (job #68605) | Borderou de evaluare (job #2510076)
Borderou de evaluare (job #2510076)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:16:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void dfs3(int)':
main.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void dfs1(int)':
main.cpp:40:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void dfs2(int)':
main.cpp:54:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:67:17: warning: unused variable 'j' [-Wunused-variable]
int n,m,i,x,j,y;
^
main.cpp:65:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("arbvalmax.in", "r", stdin);
^
main.cpp:66:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out", "w", stdout);
^
main.cpp:68:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:70:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:75:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val[i]);
^
main.cpp:87:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 15ms | 7340kb | OK | 10 |
| 2 | 18ms | 7471kb | OK | 10 |
| 3 | 35ms | 7536kb | OK | 10 |
| 4 | 28ms | 7471kb | OK | 10 |
| 5 | 87ms | 8876kb | OK | 10 |
| 6 | 236ms | 14811kb | OK | 10 |
| 7 | 352ms | 18612kb | OK | 10 |
| 8 | 645ms | 26791kb | OK | 10 |
| 9 | 691ms | 28311kb | OK | 10 |
| 10 | 650ms | 29884kb | OK | 10 |
| Punctaj total | 100 |