Pagini recente »
Borderou de evaluare (job #787757)
|
Borderou de evaluare (job #191475)
|
Borderou de evaluare (job #441412)
|
Borderou de evaluare (job #473882)
|
Borderou de evaluare (job #783615)
Borderou de evaluare (job #783615)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:17:30: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
17 | for(int i = 1; i <= n; i++){
| ~~^~~~
main.cpp:18:30: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
18 | if(i % 9 == k){
| ~~~~~~^~~~
main.cpp:23:30: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
23 | for(int i = 1; i <= n; i++){
| ~~^~~~
main.cpp:24:44: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
24 | if(cifra_de_control(i) == k){
| ~~~~~~~~~~~~~~~~~~~~^~~~
main.cpp: In function 'int main()':
main.cpp:31:14: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
31 | freopen("cifra.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:32:14: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | freopen("cifra.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
266 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
9
|
1 ms
|
245 kb
|
OK
|
10
|
10
|
609 ms
|
491 kb
|
OK
|
10
|
Punctaj total
|
100
|