Pagini recente » Borderou de evaluare (job #1936987) | Borderou de evaluare (job #2764781) | Borderou de evaluare (job #893232) | Borderou de evaluare (job #1376317) | Borderou de evaluare (job #1845310)
Borderou de evaluare (job #1845310)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24: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:20:27: warning: unused variable ‘nrcuv’ [-Wunused-variable]
int n, i, lmax, pmax, nrcuv, curent, lg;
^
user.cpp:20:34: warning: unused variable ‘curent’ [-Wunused-variable]
int n, i, lmax, pmax, nrcuv, curent, lg;
^
user.cpp:18: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:19: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:44:37: warning: ‘pmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
u=s[pmax][strlen(s[pmax])-1];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 320kb | Partial incorect - reconstituire proasta | 4 |
2 | 0ms | 320kb | Corect | 10 |
3 | 0ms | 260kb | Corect | 10 |
4 | 0ms | 256kb | Corect | 10 |
5 | 0ms | 576kb | Partial incorect - reconstituire proasta | 4 |
6 | 4ms | 624kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 264kb | Corect | 10 |
8 | 8ms | 996kb | Partial incorect - reconstituire proasta | 4 |
9 | 0ms | 288kb | Partial incorect - reconstituire proasta | 4 |
10 | 0ms | 304kb | Partial incorect - reconstituire proasta | 4 |
Punctaj total | 60 |