Pagini recente » Borderou de evaluare (job #2015815) | Borderou de evaluare (job #2991170) | Borderou de evaluare (job #1717418) | Borderou de evaluare (job #2439105) | Borderou de evaluare (job #1475189)
Borderou de evaluare (job #1475189)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:97:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[9]’ [-Wformat=]
scanf("%s %s", &s, &t);
^
user.cpp:97:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[9]’ [-Wformat=]
user.cpp: In function ‘void read()’:
user.cpp:79:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eliminare.in", "r", stdin);
^
user.cpp:80:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:83:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘void solve()’:
user.cpp:97:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s", &s, &t);
^
user.cpp: In function ‘void write()’:
user.cpp:137:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eliminare.out", "w", stdout);
^
/tmp/ccewXjCi.o: In function `read()':
user.cpp:(.text+0x278): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 708kb | OK | 10 |
2 | 32ms | 1216kb | OK | 10 |
3 | 792ms | 7028kb | OK | 10 |
4 | 1060ms | 7860kb | OK | 10 |
5 | 2148ms | 14008kb | OK | 10 |
6 | 1812ms | 14536kb | OK | 10 |
7 | 1780ms | 15444kb | OK | 10 |
8 | Depăşit | 29484kb | Time limit exceeded. | 0 |
9 | Depăşit | 30368kb | Time limit exceeded. | 0 |
10 | Depăşit | 30596kb | Time limit exceeded. | 0 |
Punctaj total | 70 |