Pagini recente »
Borderou de evaluare (job #255402)
|
Borderou de evaluare (job #542668)
|
Borderou de evaluare (job #712450)
|
Borderou de evaluare (job #495402)
|
Borderou de evaluare (job #688431)
Borderou de evaluare (job #688431)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:32:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
32 | for (int i = 1; i < str.length() - 1; i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'bool isPrim(int)':
main.cpp:22:9: warning: control reaches end of non-void function [-Wreturn-type]
22 | }
| ^
main.cpp: In function 'int main()':
main.cpp:24:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | freopen("centruprim.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:25:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | freopen("centruprim.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
Punctaj/grupă |
1
|
1 ms
|
114 kb
|
OK
|
5
|
0
|
2
|
1 ms
|
114 kb
|
OK
|
5
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
0
|
6
|
1 ms
|
114 kb
|
OK
|
5
|
7
|
1 ms
|
114 kb
|
OK
|
5
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
114 kb
|
OK
|
5
|
0
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
11
|
1 ms
|
114 kb
|
Incorect
|
0
|
12
|
2 ms
|
114 kb
|
OK
|
5
|
13
|
1 ms
|
114 kb
|
OK
|
5
|
0
|
14
|
1 ms
|
114 kb
|
Incorect
|
0
|
15
|
1 ms
|
114 kb
|
OK
|
5
|
16
|
1 ms
|
114 kb
|
Incorect
|
0
|
17
|
1 ms
|
114 kb
|
Incorect
|
0
|
0
|
18
|
1 ms
|
114 kb
|
Incorect
|
0
|
19
|
1 ms
|
114 kb
|
OK
|
5
|
20
|
1 ms
|
114 kb
|
OK
|
5
|
Punctaj total
|
0
|