Pagini recente » Borderou de evaluare (job #1807112) | Borderou de evaluare (job #1559321)
Borderou de evaluare (job #1559321)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:22:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i < v[x].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:60:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (t<v[j].size())
^
user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permlcs.in","r",stdin);
^
user.cpp:41:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permlcs.out","w",stdout);
^
user.cpp:42:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:43:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; i++) scanf("%d",&a[i]);
^
user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 300kb | OK | 10 | 30 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 332kb | OK | 10 |
4 | 0ms | 332kb | OK | 10 | 70 |
5 | 0ms | 328kb | OK | 10 |
6 | 32ms | 788kb | OK | 10 |
7 | 84ms | 2900kb | OK | 10 |
8 | 188ms | 2900kb | OK | 10 |
9 | 196ms | 2944kb | OK | 10 |
10 | 184ms | 2944kb | OK | 10 |
Punctaj total | 100 |