Pagini recente » Borderou de evaluare (job #569043) | Borderou de evaluare (job #773244) | Borderou de evaluare (job #2700697) | Borderou de evaluare (job #2209416) | Borderou de evaluare (job #2210994)
Borderou de evaluare (job #2210994)
Raport evaluator
Compilare:
user.cpp: In function ‘int conv(char*)’:
user.cpp:18:11: warning: statement has no effect [-Wunused-value]
for(p ; p >= a ; -- p , w *= 12)
^
user.cpp:21:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val = val + (w * b [*p]);
^
user.cpp:20:14: warning: unused variable ‘x’ [-Wunused-variable]
char x = *p;
^
user.cpp: In function ‘char inv(int)’:
user.cpp:40:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:47:37: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[20]’ [-Wformat=]
scanf ("%d %d %s" , &t , &n , &h);
^
user.cpp:49:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b [*p] = i , b2 [i] = *p;
^
user.cpp:52:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[20]’ [-Wformat=]
scanf ("%s" , &str);
^
user.cpp:43:30: warning: unused variable ‘j’ [-Wunused-variable]
int n , i , t , c1 = 0 , j;
^
user.cpp:45:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen (in , "r" , stdin);
^
user.cpp:46:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen (out , "w" , stdout);
^
user.cpp:47:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %s" , &t , &n , &h);
^
user.cpp:52:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s" , &str);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 752kb | OK | 5 |
2 | 0ms | 932kb | OK | 5 |
3 | 16ms | 936kb | OK | 5 |
4 | 32ms | 1044kb | OK | 5 |
5 | 64ms | 1436kb | OK | 5 |
6 | 136ms | 2212kb | OK | 5 |
7 | 0ms | 752kb | OK | 5 |
8 | 0ms | 752kb | OK | 5 |
9 | 0ms | 756kb | OK | 5 |
10 | 4ms | 876kb | OK | 5 |
11 | 8ms | 756kb | OK | 5 |
12 | 12ms | 872kb | OK | 5 |
13 | 28ms | 856kb | OK | 5 |
14 | 56ms | 968kb | OK | 5 |
15 | 72ms | 1048kb | OK | 5 |
16 | 108ms | 1244kb | OK | 5 |
17 | 140ms | 1436kb | OK | 5 |
18 | 180ms | 1640kb | OK | 5 |
19 | 232ms | 1908kb | OK | 5 |
20 | 288ms | 2216kb | OK | 5 |
Punctaj total | 100 |