Pagini recente » Borderou de evaluare (job #552026) | Borderou de evaluare (job #584316) | Borderou de evaluare (job #353044) | Borderou de evaluare (job #261168) | Borderou de evaluare (job #1390936)
Borderou de evaluare (job #1390936)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:100:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<long int>::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld\n",ans.size());
^
user.cpp:101:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();i++) printf("%ld\n",ans[i]);
^
user.cpp:73:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.in","r",stdin);
^
user.cpp:74:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.out","w",stdout);
^
user.cpp:76:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:78:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 540kb | Too bad! | 0 |
2 | 0ms | 588kb | Okay! | 10 |
3 | 0ms | 960kb | Okay! | 10 |
4 | 0ms | 1392kb | Too bad! | 0 |
5 | 0ms | 2000kb | Too bad! | 0 |
6 | 8ms | 1756kb | Okay! | 10 |
7 | 20ms | 2328kb | Too bad! | 0 |
8 | 20ms | 3076kb | Okay! | 10 |
9 | 32ms | 2664kb | Too bad! | 0 |
10 | 24ms | 9492kb | Okay! | 10 |
Punctaj total | 50 |