Pagini recente » Cod sursa (job #915179) | Cod sursa (job #2660228) | Cod sursa (job #2809590) | Cod sursa (job #550273) | Borderou de evaluare (job #2019926)
Borderou de evaluare (job #2019926)
Raport evaluator
Compilare:
user.cpp: In function ‘bool dfs(int)’:
user.cpp:49: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:101:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<g[i].size();++j)
^
user.cpp:65: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:66: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:68: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:72:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&x);
^
user.cpp:74:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccGAs5Q3.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 | 428kb | Index inexistent! | 0 |
2 | 0ms | 444kb | Raspuns corect | 10 |
3 | 0ms | 452kb | Raspuns corect | 10 |
4 | 0ms | 440kb | Index inexistent! | 0 |
5 | 0ms | 424kb | Index inexistent! | 0 |
6 | 0ms | 428kb | Index inexistent! | 0 |
7 | 20ms | 512kb | Raspuns corect | 10 |
8 | 8ms | 428kb | Index inexistent! | 0 |
9 | 12ms | 424kb | Index inexistent! | 0 |
10 | 12ms | 432kb | Index inexistent! | 0 |
Punctaj total | 30 |