Pagini recente » Cod sursa (job #1695027) | Cod sursa (job #2860972) | Cod sursa (job #3158468) | Cod sursa (job #1725837) | Borderou de evaluare (job #2019916)
Borderou de evaluare (job #2019916)
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:95:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<g[i].size();++j)
^
user.cpp:59: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:60: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:62: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:66:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&x);
^
user.cpp:68:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccUH27Qr.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 | 448kb | Raspuns corect | 10 |
3 | 0ms | 448kb | Raspuns corect | 10 |
4 | 0ms | 448kb | Index inexistent! | 0 |
5 | 0ms | 428kb | Index inexistent! | 0 |
6 | 4ms | 428kb | Index inexistent! | 0 |
7 | 20ms | 512kb | Raspuns corect | 10 |
8 | 8ms | 432kb | Index inexistent! | 0 |
9 | 12ms | 424kb | Index inexistent! | 0 |
10 | 16ms | 432kb | Index inexistent! | 0 |
Punctaj total | 30 |