Pagini recente » Borderou de evaluare (job #164607) | Borderou de evaluare (job #984392) | Borderou de evaluare (job #847452) | Borderou de evaluare (job #1857897) | Borderou de evaluare (job #1493568)
Borderou de evaluare (job #1493568)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10000005]’ [-Wformat=]
scanf("%s", &line);
^
user.cpp:27:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[22]’ [-Wformat=]
while(scanf("%s", &cuv)==1)
^
user.cpp:40:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<n;i++)
^
user.cpp:43:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<n;i++)
^
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.in", "r", stdin);
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.out", "w", stdout);
^
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &line);
^
user.cpp:26:9: warning: ‘nmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int nmax;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 11984kb | OK | 10 | 100 |
2 | 16ms | 11984kb | OK | 10 |
3 | 16ms | 12008kb | OK | 10 |
4 | 20ms | 12092kb | OK | 10 |
5 | 36ms | 12412kb | OK | 10 |
6 | 104ms | 13424kb | OK | 10 |
7 | 392ms | 17632kb | OK | 10 |
8 | 824ms | 22508kb | OK | 10 |
9 | 884ms | 22512kb | OK | 10 |
10 | 716ms | 22512kb | OK | 10 |
Punctaj total | 100 |