Pagini recente » Borderou de evaluare (job #2648460) | Borderou de evaluare (job #161163) | Borderou de evaluare (job #1952059) | Borderou de evaluare (job #1953825) | Borderou de evaluare (job #1283052)
Borderou de evaluare (job #1283052)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(st[i][nr_st[i]]!=-1&&d[i][st[i][nr_st[i]]][q]!=-1)
^
user.cpp:45:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
st[i][nr_st[i]]=d[i][st[i][nr_st[i]-1]][q];
^
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("search.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("search.out","w",stdout);
^
user.cpp:10:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ",&n,&m);
^
user.cpp:13:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:34:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c ",&q);
^
/tmp/ccn941d2.o: In function `main':
user.cpp:(.text.startup+0x8f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 320kb | OK | 5 |
2 | 0ms | 364kb | OK | 5 |
3 | 0ms | 1228kb | OK | 5 |
4 | 0ms | 2056kb | OK | 5 |
5 | 16ms | 10700kb | OK | 5 |
6 | 0ms | 2428kb | OK | 5 |
7 | 80ms | 42604kb | OK | 5 |
8 | 88ms | 41840kb | OK | 5 |
9 | 540ms | 58120kb | OK | 5 |
10 | 720ms | 58664kb | OK | 5 |
11 | 696ms | 58684kb | OK | 5 |
12 | 464ms | 46844kb | OK | 5 |
13 | 468ms | 49948kb | OK | 5 |
14 | 548ms | 52852kb | OK | 5 |
15 | 148ms | 15772kb | OK | 5 |
16 | 340ms | 19476kb | OK | 5 |
17 | 296ms | 34324kb | OK | 5 |
18 | 484ms | 59344kb | OK | 5 |
19 | 700ms | 58728kb | OK | 5 |
20 | 420ms | 58964kb | OK | 5 |
Punctaj total | 100 |