Pagini recente » Borderou de evaluare (job #1624597) | Borderou de evaluare (job #77896) | Borderou de evaluare (job #224797) | Borderou de evaluare (job #1062891) | Borderou de evaluare (job #1700699)
Borderou de evaluare (job #1700699)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d%d",&N,&K);
^
user.cpp:18:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d%d",&N,&K);
^
user.cpp:25:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=K;i++)
^
user.cpp:34:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(aux>S/K)
^
user.cpp:42:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=K;i++)
^
user.cpp:8:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&K);
^
user.cpp:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:18:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&K);
^
user.cpp:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 4ms | 268kb | OK | 10 |
6 | 4ms | 268kb | OK | 10 |
7 | 36ms | 268kb | OK | 10 |
8 | 60ms | Depăşit | Memory limit exceeded. | 0 |
9 | 28ms | 264kb | OK | 10 |
10 | 16ms | 252kb | OK | 10 |
Punctaj total | 90 |