Pagini recente » Borderou de evaluare (job #2436243) | Borderou de evaluare (job #1828078) | Borderou de evaluare (job #2577266) | Borderou de evaluare (job #2450150) | Borderou de evaluare (job #1850672)
Borderou de evaluare (job #1850672)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int)’:
user.cpp:31:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < q[t].size(); ++i)
^
user.cpp:40:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(idx[t] < a[t].size() ) { stiva[++nr] = a[t][ idx[t]++ ]; ok = 1; }
^
user.cpp: In function ‘int main()’:
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.in","r",stdin);
^
user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.out","w",stdout);
^
user.cpp:51:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:54:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:61:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 7328kb | OK! | 10 |
2 | 12ms | 7344kb | OK! | 10 |
3 | 16ms | 7440kb | OK! | 10 |
4 | 24ms | 7804kb | OK! | 10 |
5 | 28ms | 7904kb | OK! | 10 |
6 | 68ms | 9172kb | OK! | 10 |
7 | 136ms | 10376kb | OK! | 10 |
8 | 244ms | 12092kb | OK! | 10 |
9 | 444ms | 18680kb | OK! | 10 |
10 | 472ms | 20240kb | OK! | 10 |
Punctaj total | 100 |