Pagini recente » Borderou de evaluare (job #1694209) | Borderou de evaluare (job #1625258) | Borderou de evaluare (job #828372) | Borderou de evaluare (job #1985874) | Borderou de evaluare (job #1475350)
Borderou de evaluare (job #1475350)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:109:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[9]’ [-Wformat=]
scanf("%s %s", &s, &t);
^
user.cpp:109: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:91: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:92: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:95: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:109: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:138: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/cc9JoIcI.o: In function `read()':
user.cpp:(.text+0x328): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 796kb | OK | 10 |
2 | 32ms | 1352kb | OK | 10 |
3 | 472ms | 8544kb | OK | 10 |
4 | 1484ms | 8932kb | OK | 10 |
5 | 1196ms | 17000kb | OK | 10 |
6 | 1020ms | 17396kb | OK | 10 |
7 | 1576ms | 17584kb | OK | 10 |
8 | 664ms | Depăşit | Memory limit exceeded. | 0 |
9 | 692ms | Depăşit | Memory limit exceeded. | 0 |
10 | 692ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 70 |