Pagini recente » Borderou de evaluare (job #2681817) | Borderou de evaluare (job #771521) | Borderou de evaluare (job #2929348) | Borderou de evaluare (job #669012) | Borderou de evaluare (job #1721655)
Borderou de evaluare (job #1721655)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&sum[i]);
^
user.cpp:19:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&sum[i]);
^
user.cpp:25:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&sum[i]);
^
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in","r",stdin);
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out","w",stdout);
^
user.cpp:12:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&k,&a,&b);
^
user.cpp:15:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&sum[i]);
^
user.cpp:19:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&sum[i]);
^
user.cpp:25:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&sum[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 4ms | 548kb | OK | 10 |
4 | 20ms | 824kb | OK | 10 |
5 | 40ms | 1212kb | OK | 10 |
6 | 68ms | 2372kb | OK | 10 |
7 | 80ms | 2016kb | OK | 10 |
8 | 96ms | 2468kb | OK | 10 |
9 | 144ms | 3832kb | OK | 10 |
10 | Depăşit | 4244kb | Time limit exceeded. | 0 |
Punctaj total | 90 |