Pagini recente » Borderou de evaluare (job #592004) | Borderou de evaluare (job #95741) | Borderou de evaluare (job #1283286) | Borderou de evaluare (job #2891138) | Borderou de evaluare (job #2140213)
Borderou de evaluare (job #2140213)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[24]’ [-Wformat=]
scanf ("%s", &s[1]);
^
user.cpp:16:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[24]’ [-Wformat=]
scanf ("%s", &s[nr+1]);
^
user.cpp:24:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (c[s[i][strlen(s[i])-1]]<x)
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("text3.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("text3.out","w",stdout);
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", &s[1]);
^
user.cpp:16:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", &s[nr+1]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 884kb | Partial incorect | 1 |
2 | 0ms | 880kb | Corect | 10 |
3 | 0ms | 820kb | Corect | 10 |
4 | 0ms | 876kb | Corect | 10 |
5 | 0ms | 1104kb | Corect | 10 |
6 | 4ms | 1236kb | Corect | 10 |
7 | 0ms | 828kb | Corect | 10 |
8 | 8ms | 1388kb | Partial incorect | 1 |
9 | 0ms | 936kb | Partial incorect | 1 |
10 | 0ms | 932kb | Corect | 10 |
Punctaj total | 73 |