Pagini recente » Cod sursa (job #656571) | Cod sursa (job #1752980) | Cod sursa (job #872180) | Cod sursa (job #16581) | Borderou de evaluare (job #2019908)
Borderou de evaluare (job #2019908)
Raport evaluator
Compilare:
user.cpp: In function ‘bool dfs(int)’:
user.cpp:43:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:96:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<g[i].size();++j)
^
user.cpp:60:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pari.in","r",stdin);
^
user.cpp:61:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pari.out","w",stdout);
^
user.cpp:63:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&d);
^
user.cpp:67:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&x);
^
user.cpp:69:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccrbnFSz.o: In function `main':
user.cpp:(.text.startup+0xc3): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | Pereche invalida! | 0 |
2 | 0ms | 440kb | Index inexistent! | 0 |
3 | 0ms | 452kb | Pereche invalida! | 0 |
4 | 0ms | 452kb | Index inexistent! | 0 |
5 | 0ms | 420kb | Index inexistent! | 0 |
6 | 4ms | 424kb | Index inexistent! | 0 |
7 | 16ms | 540kb | Index inexistent! | 0 |
8 | 12ms | 428kb | Index inexistent! | 0 |
9 | 16ms | 428kb | Index inexistent! | 0 |
10 | 20ms | 428kb | Index inexistent! | 0 |
Punctaj total | 0 |