Pagini recente » Borderou de evaluare (job #917967) | Borderou de evaluare (job #223869) | Borderou de evaluare (job #58324) | Borderou de evaluare (job #1689872) | Borderou de evaluare (job #1301939)
Borderou de evaluare (job #1301939)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:18:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = prec; i < L[n].size(); i++){
^
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:40:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < L[v].size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:85:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v1.size() && x < 2; i++){
^
user.cpp:133:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < v.size() && ok == 0; j++){
^
user.cpp:61:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciclu2.in","r",stdin);
^
user.cpp:62:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciclu2.out","w",stdout);
^
user.cpp:124:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 472kb | OK | 20 | 20 |
2 | 52ms | 780kb | OK | 20 | 0 |
3 | 12ms | 616kb | OK | 20 |
4 | 16ms | 856kb | Incorect | 0 |
5 | 16ms | 668kb | OK | 20 |
Punctaj total | 20 |