Pagini recente » Borderou de evaluare (job #1088503) | Borderou de evaluare (job #1870333) | Borderou de evaluare (job #134849) | Borderou de evaluare (job #1074182) | Borderou de evaluare (job #1567873)
Borderou de evaluare (job #1567873)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",sol);
^
user.cpp:13:17: warning: unused variable ‘j’ [-Wunused-variable]
long long i,j,mij,dr,st;
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.out","w",stdout);
^
user.cpp:14:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld\n",&n,&buget);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 304kb | OK | 10 |
6 | 0ms | 296kb | OK | 10 |
7 | 28ms | 572kb | OK | 10 |
8 | 28ms | 572kb | OK | 10 |
9 | 64ms | 968kb | OK | 10 |
10 | 64ms | 960kb | OK | 10 |
Punctaj total | 100 |