Pagini recente » Borderou de evaluare (job #2742455) | Borderou de evaluare (job #1898439) | Borderou de evaluare (job #1034948) | Borderou de evaluare (job #757674) | Borderou de evaluare (job #1854585)
Borderou de evaluare (job #1854585)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[25]’ [-Wformat=]
while (scanf("%s", &s[n]) != EOF){
^
user.cpp:19:27: warning: unused variable ‘nrcuv’ [-Wunused-variable]
int n, i, lmax, pmax, nrcuv, curent, lgc;
^
user.cpp:19:34: warning: unused variable ‘curent’ [-Wunused-variable]
int n, i, lmax, pmax, nrcuv, curent, lgc;
^
user.cpp:17:36: 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:18:38: 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:42:18: warning: ‘pmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (i=pmax-1; i>=1; i--){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 340kb | Corect | 10 |
2 | 0ms | 336kb | Corect | 10 |
3 | 0ms | 276kb | Corect | 10 |
4 | 0ms | 272kb | Corect | 10 |
5 | 0ms | 568kb | Corect | 10 |
6 | 4ms | 712kb | Corect | 10 |
7 | 0ms | 276kb | Corect | 10 |
8 | 8ms | 1004kb | Corect | 10 |
9 | 0ms | 304kb | Corect | 10 |
10 | 0ms | 324kb | Corect | 10 |
Punctaj total | 100 |