Pagini recente » Borderou de evaluare (job #1061187) | Borderou de evaluare (job #1404622) | Borderou de evaluare (job #2133936) | Borderou de evaluare (job #1465101) | Borderou de evaluare (job #1302657)
Borderou de evaluare (job #1302657)
Raport evaluator
Compilare:
user.cpp: In function ‘int pathContains(int)’:
user.cpp:18:36: 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:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v1.size() && x < 2; i++){
^
user.cpp:137:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < v.size() && ok == 0; j++){
^
user.cpp:62:35: 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:37: 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:28: 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 | 2780ms | 1356kb | OK | 20 | 80 |
3 | 604ms | 928kb | OK | 20 |
4 | 172ms | 684kb | OK | 20 |
5 | 164ms | 684kb | OK | 20 |
Punctaj total | 100 |