Pagini recente » Borderou de evaluare (job #1338094) | Borderou de evaluare (job #1024524) | Borderou de evaluare (job #1492591) | Borderou de evaluare (job #25888) | Borderou de evaluare (job #2219204)
Borderou de evaluare (job #2219204)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:78:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100001]’ [-Wformat=]
fscanf (fin, "%s", &s);
^
user.cpp:77:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d", &c);
^
user.cpp:78:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%s", &s);
^
user.cpp:81:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d%lld", &a, &b, &E);
^
user.cpp: In function ‘void eval()’:
user.cpp:45:7: warning: ‘nr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (nr == -1) {
^~
user.cpp:42:22: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ss = ss + nr * semn;
~~~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1324kb | Corect | 1 |
2 | 0ms | 1320kb | Corect | 1 |
3 | 0ms | 1320kb | Corect | 4 |
4 | 0ms | 1324kb | Corect | 4 |
5 | 0ms | 1328kb | Corect | 5 |
6 | 0ms | 1324kb | Rapuns gresit | 0 |
7 | 0ms | 1368kb | Corect | 5 |
8 | 4ms | 1412kb | Corect | 5 |
9 | 0ms | 1324kb | Rapuns gresit | 0 |
10 | 0ms | 1476kb | Corect | 5 |
11 | 0ms | 1324kb | Rapuns gresit | 0 |
12 | 12ms | 1608kb | Corect | 5 |
13 | 1028ms | 56456kb | Corect | 5 |
14 | 388ms | 22132kb | Corect | 5 |
15 | 412ms | 28208kb | Corect | 5 |
16 | 304ms | 20364kb | Corect | 5 |
17 | 0ms | 1356kb | Rapuns gresit | 0 |
18 | 368ms | 24544kb | Corect | 5 |
19 | 304ms | 20596kb | Corect | 5 |
20 | 168ms | 3872kb | Corect | 5 |
21 | 16ms | 2488kb | Corect | 5 |
22 | 252ms | 10384kb | Corect | 5 |
Punctaj total | 80 |