Pagini recente » Borderou de evaluare (job #2761958) | Borderou de evaluare (job #217215) | Borderou de evaluare (job #783875) | Borderou de evaluare (job #225601) | Borderou de evaluare (job #2497614)
Borderou de evaluare (job #2497614)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:25: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[100001]' [-Wformat=]
fscanf(fin, "%s\n", &s);
^
main.cpp:37:24: warning: comparison of constant ''z'' with boolean expression is always true [-Wbool-compare]
else if('a'<=s[poz]<='z')
~~~~~~~~~~~^~~~~
main.cpp:37:16: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
else if('a'<=s[poz]<='z')
~~~^~~~~~~~
main.cpp:10:25: warning: unused variable 'cx' [-Wunused-variable]
long long n, q, x, i, cx, y, poz, caps, casuta;
^~
main.cpp:13:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld %lld\n",&n,&q);
^
main.cpp:14:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s\n", &s);
^
main.cpp:16:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 28ms | 262kb | Incorect | 0 |
6 | 31ms | 262kb | Incorect | 0 |
7 | 34ms | 262kb | Incorect | 0 |
8 | 38ms | 393kb | Incorect | 0 |
9 | 3ms | 131kb | Incorect | 0 |
10 | 3ms | 131kb | Incorect | 0 |
11 | 4ms | 131kb | Incorect | 0 |
12 | 4ms | 131kb | Incorect | 0 |
13 | 41ms | 262kb | Incorect | 0 |
14 | 47ms | 393kb | Incorect | 0 |
15 | 49ms | 393kb | Incorect | 0 |
16 | 65ms | 393kb | Incorect | 0 |
17 | 84ms | 393kb | Incorect | 0 |
18 | 103ms | 393kb | Incorect | 0 |
19 | 107ms | 393kb | Incorect | 0 |
Punctaj total | 10 |