Pagini recente » Borderou de evaluare (job #2701787) | Borderou de evaluare (job #2477096) | Borderou de evaluare (job #1959064) | Borderou de evaluare (job #55177) | Borderou de evaluare (job #1302164)
Borderou de evaluare (job #1302164)
Raport evaluator
Compilare:
user.cpp: In function ‘int pathContains(int)’:
user.cpp:18:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < cycles.size(); i++){
^
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:28: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:87:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v1.size() && x < 2; i++){
^
user.cpp:137:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < v.size() && ok == 0; j++){
^
user.cpp:62: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:63: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:126: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 | 476kb | OK | 20 | 20 |
2 | 2776ms | 1360kb | OK | 20 | 80 |
3 | 604ms | 924kb | OK | 20 |
4 | 172ms | 680kb | OK | 20 |
5 | 164ms | 680kb | OK | 20 |
Punctaj total | 100 |