Pagini recente » Cod sursa (job #1988934) | Borderou de evaluare (job #1679498) | Borderou de evaluare (job #2010104) | Cod sursa (job #1673701) | Borderou de evaluare (job #1600655)
Borderou de evaluare (job #1600655)
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:41:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=K; i<v.size(); ++i)
^
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 | 440kb | Valoare incorecta cerinta 2 ! | 1 |
2 | 0ms | 444kb | Incorect ! | 0 |
3 | 0ms | 436kb | Incorect ! | 0 |
4 | 0ms | 436kb | Incorect ! | 0 |
5 | 0ms | 440kb | Incorect ! | 0 |
6 | 0ms | 436kb | Incorect ! | 0 |
7 | 0ms | 440kb | Incorect ! | 0 |
8 | 0ms | 440kb | Incorect ! | 0 |
9 | 0ms | 436kb | Incorect ! | 0 |
10 | 0ms | 440kb | Incorect ! | 0 |
11 | 0ms | 436kb | Incorect ! | 0 |
12 | 0ms | 444kb | Incorect ! | 0 |
13 | 0ms | 440kb | Incorect ! | 0 |
14 | 0ms | 444kb | Incorect ! | 0 |
15 | 0ms | 440kb | Incorect ! | 0 |
16 | 0ms | 440kb | Incorect ! | 0 |
17 | 0ms | 448kb | Incorect ! | 0 |
18 | 4ms | 452kb | Incorect ! | 0 |
19 | 8ms | 472kb | Incorect ! | 0 |
20 | 8ms | 468kb | Incorect ! | 0 |
Punctaj total | 1 |