Pagini recente » Borderou de evaluare (job #2650799) | Borderou de evaluare (job #2509007) | Borderou de evaluare (job #366561) | Borderou de evaluare (job #2044864) | Borderou de evaluare (job #2580471)
Borderou de evaluare (job #2580471)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:15:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp:22:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp:42:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1; j<g[nod].size()-1; j++)
~^~~~~~~~~~~~~~~~
main.cpp:47:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<g[nod].size() && g[nod][j]!=tata){
~^~~~~~~~~~~~~~
main.cpp:57:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1; j<g[nod].size()-1; j++)
~^~~~~~~~~~~~~~~~
main.cpp:60:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<g[nod].size() && g[nod][j]!=tata)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:67:19: warning: unused variable 'sum' [-Wunused-variable]
int n,k,i,x,y,sum=0;
^~~
main.cpp:65:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("karb2.in", "r", stdin);
^
main.cpp:66:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("karb2.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, &k);
^
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:74: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 | 9ms | 3670kb | Incorect | 0 |
2 | 10ms | 3670kb | Incorect | 0 |
3 | 10ms | 3670kb | Incorect | 0 |
4 | 10ms | 3670kb | Incorect | 0 |
5 | 12ms | 3801kb | Incorect | 0 |
6 | 12ms | 3801kb | Incorect | 0 |
7 | 80ms | 5767kb | Incorect | 0 |
8 | 176ms | 7733kb | Incorect | 0 |
9 | 238ms | 9175kb | Incorect | 0 |
10 | 297ms | 10354kb | Incorect | 0 |
Punctaj total | 0 |