Pagini recente » Borderou de evaluare (job #763699) | Borderou de evaluare (job #568173) | Borderou de evaluare (job #390853) | Borderou de evaluare (job #1754623) | Borderou de evaluare (job #1320800)
Borderou de evaluare (job #1320800)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(long int)’:
user.cpp:24:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[node].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:46:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autostrazi.in","r",stdin);
^
user.cpp:47:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autostrazi.out","w",stdout);
^
user.cpp:49:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld",&n,&s,&k);
^
user.cpp:50:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=k;i++) scanf("%ld",&r[i]);
^
user.cpp:52:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 4ms | 448kb | OK | 10 |
3 | 28ms | 460kb | OK | 10 |
4 | 8ms | 460kb | OK | 10 |
5 | 68ms | 488kb | OK | 10 |
6 | 48ms | 480kb | OK | 10 |
7 | 96ms | 484kb | OK | 10 |
8 | 100ms | 492kb | OK | 10 |
9 | 112ms | 488kb | OK | 10 |
10 | 0ms | 440kb | OK | 10 |
Punctaj total | 100 |