Pagini recente » Borderou de evaluare (job #2201997) | Borderou de evaluare (job #2021554) | Borderou de evaluare (job #1061058) | Borderou de evaluare (job #2016744) | Borderou de evaluare (job #1478868)
Borderou de evaluare (job #1478868)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::map<int, int>::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld\n",M.size());
^
user.cpp:23:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld ",it->first,it->second);
^
user.cpp:23:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.in","r",stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:16:33: 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 | 4ms | 288kb | OK! | 10 |
2 | 80ms | 396kb | OK! | 10 |
3 | 252ms | 632kb | OK! | 10 |
4 | 352ms | 740kb | OK! | 10 |
5 | 688ms | 1112kb | OK! | 10 |
6 | 1240ms | 1620kb | OK! | 10 |
7 | 1428ms | 1760kb | OK! | 10 |
8 | 1628ms | 1900kb | OK! | 10 |
9 | Depăşit | 2512kb | Time limit exceeded. | 0 |
10 | Depăşit | 2732kb | Time limit exceeded. | 0 |
Punctaj total | 80 |