Pagini recente » Borderou de evaluare (job #402916) | Borderou de evaluare (job #523540) | Borderou de evaluare (job #1613631) | Borderou de evaluare (job #446803) | Borderou de evaluare (job #1600635)
Borderou de evaluare (job #1600635)
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:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(K>=v.size())
^
user.cpp:31:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<v.size(); ++i)
^
user.cpp:34:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<=v.size()-K; ++i)
^
user.cpp:37:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(v[i]==0 && i<=v.size()-K)
^
user.cpp:39:44: 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 | 424kb | Valoare incorecta cerinta 2 ! | 1 |
| 2 | 0ms | 424kb | Incorect ! | 0 |
| 3 | 0ms | 428kb | Incorect ! | 0 |
| 4 | 0ms | 428kb | Incorect ! | 0 |
| 5 | 0ms | 428kb | Incorect ! | 0 |
| 6 | 0ms | 432kb | Incorect ! | 0 |
| 7 | 0ms | 428kb | Incorect ! | 0 |
| 8 | 0ms | 424kb | Incorect ! | 0 |
| 9 | 0ms | 424kb | Incorect ! | 0 |
| 10 | 0ms | 428kb | Incorect ! | 0 |
| 11 | 0ms | 428kb | Incorect ! | 0 |
| 12 | 0ms | 428kb | Incorect ! | 0 |
| 13 | 0ms | 428kb | Incorect ! | 0 |
| 14 | 0ms | 432kb | Incorect ! | 0 |
| 15 | 0ms | 432kb | Incorect ! | 0 |
| 16 | 0ms | 432kb | Incorect ! | 0 |
| 17 | 4ms | 436kb | Incorect ! | 0 |
| 18 | 8ms | 440kb | Incorect ! | 0 |
| 19 | 16ms | 456kb | Incorect ! | 0 |
| 20 | 20ms | 456kb | Incorect ! | 0 |
| Punctaj total | 1 |