Pagini recente » Borderou de evaluare (job #2409195) | Borderou de evaluare (job #1459692) | Borderou de evaluare (job #2633753) | Borderou de evaluare (job #1529212) | Borderou de evaluare (job #1478861)
Borderou de evaluare (job #1478861)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",nr);
^
user.cpp:35:61: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ [-Wformat=]
for(j=0;j<nup;++j) printf("%ld %ld ",v[i][j],a[i][j]);
^
user.cpp:35:61: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ [-Wformat=]
user.cpp:19: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:20: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:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:27:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&t,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 292kb | OK! | 10 |
2 | 60ms | 348kb | OK! | 10 |
3 | 188ms | 440kb | OK! | 10 |
4 | 252ms | 472kb | OK! | 10 |
5 | 496ms | 608kb | OK! | 10 |
6 | 884ms | 832kb | OK! | 10 |
7 | 1012ms | 824kb | OK! | 10 |
8 | 1144ms | 796kb | OK! | 10 |
9 | 1748ms | 1052kb | OK! | 10 |
10 | 1984ms | 1224kb | OK! | 10 |
Punctaj total | 100 |