Pagini recente » Borderou de evaluare (job #956155) | Borderou de evaluare (job #2443251) | Borderou de evaluare (job #834111) | Borderou de evaluare (job #2333313) | Borderou de evaluare (job #1302132)
Borderou de evaluare (job #1302132)
Raport evaluator
Compilare:
user.cpp: In function ‘int pathContains(int)’:
user.cpp:37: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:47: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:106:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v1.size() && x < 2; i++){
^
user.cpp:156:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < v.size() && ok == 0; j++){
^
user.cpp:81: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:82: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:145: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 | 2788ms | 1360kb | OK | 20 | 80 |
3 | 604ms | 924kb | OK | 20 |
4 | 172ms | 680kb | OK | 20 |
5 | 168ms | 680kb | OK | 20 |
Punctaj total | 100 |