Pagini recente » Borderou de evaluare (job #1157114) | Borderou de evaluare (job #1076773) | Borderou de evaluare (job #1010111) | Borderou de evaluare (job #173300) | Borderou de evaluare (job #1475353)
Borderou de evaluare (job #1475353)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:107:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[9]’ [-Wformat=]
scanf("%s %s", &s, &t);
^
user.cpp:107: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:89: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:90: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:93: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:107: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:136: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/cc5u5KUv.o: In function `read()':
user.cpp:(.text+0x2f8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 692kb | OK | 10 |
2 | 32ms | 1160kb | OK | 10 |
3 | 404ms | 7004kb | OK | 10 |
4 | 608ms | 7392kb | OK | 10 |
5 | 1052ms | 13932kb | OK | 10 |
6 | 824ms | 14316kb | OK | 10 |
7 | 1396ms | 14508kb | OK | 10 |
8 | 2716ms | 28560kb | OK | 10 |
9 | 3060ms | 28644kb | OK | 10 |
10 | 3080ms | 28748kb | OK | 10 |
Punctaj total | 100 |