Pagini recente »
Borderou de evaluare (job #769488)
Borderou de evaluare (job #769488)
Raport evaluator
Compilare:
main.cpp: In function 'void input()':
main.cpp:76:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
76 | scanf("%d%d",&k,&n);
| ~~~~~^~~~~~~~~~~~~~
main.cpp:79:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
79 | scanf("%d%d",&s[i],&p[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:87:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
87 | freopen("competitie.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:88:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
88 | freopen("competitie.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
10
|
|
2
|
279 ms
|
249 kb
|
OK
|
10
|
|
3
|
49 ms
|
245 kb
|
OK
|
10
|
|
4
|
279 ms
|
270 kb
|
OK
|
10
|
|
5
|
489 ms
|
249 kb
|
OK
|
10
|
|
6
|
1019 ms
|
245 kb
|
OK
|
10
|
|
7
|
1599 ms
|
245 kb
|
OK
|
10
|
|
8
|
2799 ms
|
507 kb
|
OK
|
10
|
|
9
|
3058 ms
|
507 kb
|
OK
|
10
|
|
10
|
3607 ms
|
512 kb
|
Time limit exceeded
|
0
|
|
Punctaj total
|
90
|