Pagini recente » Borderou de evaluare (job #2292921) | Borderou de evaluare (job #3255003) | Borderou de evaluare (job #2674555) | Borderou de evaluare (job #347939) | Borderou de evaluare (job #2044774)
Borderou de evaluare (job #2044774)
Raport evaluator
Compilare:
user.cpp: In function ‘void q1()’:
user.cpp:14:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a[ i ][ j ]);
^
user.cpp:24:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", poz);
^
user.cpp: In function ‘void citire()’:
user.cpp:30:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a[ i ][ j ]);
^
user.cpp: In function ‘long long int binara()’:
user.cpp:76:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:83:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &q, &n);
^
user.cpp:83:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void q1()’:
user.cpp:14:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[ i ][ j ]);
^
user.cpp: In function ‘void citire()’:
user.cpp:30:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[ i ][ j ]);
^
user.cpp: In function ‘int main()’:
user.cpp:80:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pic.in", "rt", stdin);
^
user.cpp:81:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pic.out", "wt", stdout);
^
user.cpp:83:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &q, &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 5 |
2 | 0ms | 460kb | OK | 5 |
3 | 0ms | 468kb | OK | 5 |
4 | 0ms | 468kb | OK | 5 |
5 | 0ms | 488kb | OK | 5 |
6 | 0ms | 484kb | OK | 5 |
7 | 0ms | 488kb | OK | 5 |
8 | 0ms | 488kb | OK | 5 |
9 | 0ms | 492kb | OK | 5 |
10 | 0ms | 484kb | OK | 5 |
11 | 0ms | 504kb | OK | 5 |
12 | 0ms | 500kb | OK | 5 |
13 | 0ms | 492kb | OK | 5 |
14 | 0ms | 500kb | OK | 5 |
15 | 0ms | 492kb | OK | 5 |
16 | 0ms | 496kb | OK | 5 |
17 | 0ms | 492kb | OK | 5 |
18 | 0ms | 500kb | OK | 5 |
19 | 0ms | 500kb | OK | 5 |
20 | 0ms | 496kb | OK | 5 |
Punctaj total | 100 |