Pagini recente » Borderou de evaluare (job #1207744) | Borderou de evaluare (job #897653) | Borderou de evaluare (job #1159260) | Borderou de evaluare (job #302977) | Borderou de evaluare (job #1860721)
Borderou de evaluare (job #1860721)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100000]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:20:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<strlen(s); i++)
^
user.cpp:23:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<strlen(s))
^
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("charlie.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("charlie.out", "w", stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" ,&tip);
^
user.cpp:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 5 |
2 | 0ms | 272kb | OK | 5 |
3 | 0ms | 280kb | OK | 5 |
4 | Depăşit | 308kb | Time limit exceeded. | 0 |
5 | Depăşit | 340kb | Time limit exceeded. | 0 |
6 | 0ms | 248kb | Incorect | 0 |
7 | 0ms | 248kb | Incorect | 0 |
8 | 0ms | 252kb | Incorect | 0 |
9 | 0ms | 260kb | Incorect | 0 |
10 | 0ms | 280kb | Incorect | 0 |
11 | 0ms | 344kb | Incorect | 0 |
12 | 0ms | 316kb | Incorect | 0 |
13 | 0ms | 340kb | Incorect | 0 |
14 | 0ms | 344kb | Incorect | 0 |
15 | 0ms | 304kb | Incorect | 0 |
16 | 0ms | 324kb | Incorect | 0 |
17 | 0ms | 332kb | Incorect | 0 |
18 | 0ms | 340kb | Incorect | 0 |
19 | 0ms | 340kb | Incorect | 0 |
20 | 0ms | 252kb | Incorect | 0 |
Punctaj total | 15 |