Pagini recente » Borderou de evaluare (job #753470) | Borderou de evaluare (job #3242172) | Borderou de evaluare (job #1941335) | Borderou de evaluare (job #720397) | Borderou de evaluare (job #1827941)
Borderou de evaluare (job #1827941)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs()’:
user.cpp:14:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<s[a].size(); i++)
^
user.cpp:10:9: warning: unused variable ‘b’ [-Wunused-variable]
int a,b,i;
^
user.cpp: In function ‘int main()’:
user.cpp:28:17: warning: unused variable ‘max’ [-Wunused-variable]
int n,m,i,a,b,max=0;
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.in","r",stdin);
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.out","w",stdout);
^
user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:32:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 860kb | OK | 10 |
2 | 0ms | 864kb | OK | 10 |
3 | 0ms | 868kb | OK | 10 |
4 | 0ms | 888kb | OK | 10 |
5 | 4ms | 936kb | OK | 10 |
6 | 8ms | 988kb | OK | 10 |
7 | 20ms | 1172kb | OK | 10 |
8 | 24ms | 1304kb | OK | 10 |
9 | 56ms | 1760kb | OK | 10 |
10 | 88ms | 2128kb | OK | 10 |
Punctaj total | 100 |