Pagini recente » Borderou de evaluare (job #2491479) | Borderou de evaluare (job #996198) | Borderou de evaluare (job #456778) | Borderou de evaluare (job #2587887) | Borderou de evaluare (job #1221203)
Borderou de evaluare (job #1221203)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:27: warning: format ‘%llu’ expects argument of type ‘long long unsigned int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%llu%llu",&n,&k);
^
user.cpp:12:27: warning: format ‘%llu’ expects argument of type ‘long long unsigned int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:13:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=2;i*(i-1)<k*2;i++);
^
user.cpp:15:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(m*(m-1)==k*2)q=1;
^
user.cpp:24:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<m+q&&i<n;i++)
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.in","r",stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.out","w",stdout);
^
user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu%llu",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK! | 10 |
2 | 0ms | 252kb | OK! | 10 |
3 | 0ms | 260kb | OK! | 10 |
4 | 0ms | 256kb | OK! | 10 |
5 | 0ms | 256kb | OK! | 10 |
6 | 0ms | 252kb | OK! | 10 |
7 | 4ms | 256kb | OK! | 10 |
8 | 12ms | 252kb | OK! | 10 |
9 | 20ms | 260kb | OK! | 10 |
10 | Depăşit | 220kb | Time limit exceeded. | 0 |
Punctaj total | 90 |