Pagini recente » Cod sursa (job #379422) | Borderou de evaluare (job #2980166) | Borderou de evaluare (job #2848360) | Cod sursa (job #485164) | Borderou de evaluare (job #1600620)
Borderou de evaluare (job #1600620)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:25: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘bool*’ [-Wformat=]
while(scanf("%c", &x)!=EOF)
^
user.cpp: In function ‘void cerinta1()’:
user.cpp:30:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<=v.size()-K; ++i)
^
user.cpp:33:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(v[i]==0 && i<=v.size()-K)
^
user.cpp:35:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i; j<i+K && j<v.size(); ++j)
^
user.cpp: In function ‘int main()’:
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("blis.in", "rt", stdin);
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("blis.out", "wt", stdout);
^
user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | Valoare incorecta cerinta 2 ! | 1 |
2 | 0ms | 448kb | Incorect ! | 0 |
3 | 0ms | 448kb | Incorect ! | 0 |
4 | 0ms | 444kb | Incorect ! | 0 |
5 | 0ms | 452kb | Incorect ! | 0 |
6 | 0ms | 444kb | Incorect ! | 0 |
7 | 0ms | 444kb | Incorect ! | 0 |
8 | 0ms | 444kb | Incorect ! | 0 |
9 | 0ms | 444kb | Incorect ! | 0 |
10 | 0ms | 444kb | Incorect ! | 0 |
11 | 0ms | 448kb | Incorect ! | 0 |
12 | 0ms | 452kb | Incorect ! | 0 |
13 | 0ms | 452kb | Incorect ! | 0 |
14 | 0ms | 452kb | Incorect ! | 0 |
15 | 0ms | 448kb | Incorect ! | 0 |
16 | 0ms | 452kb | Incorect ! | 0 |
17 | 4ms | 456kb | Incorect ! | 0 |
18 | 8ms | 464kb | Incorect ! | 0 |
19 | 16ms | 472kb | Incorect ! | 0 |
20 | 20ms | 476kb | Incorect ! | 0 |
Punctaj total | 1 |