Pagini recente » Borderou de evaluare (job #3137689) | Borderou de evaluare (job #1927441) | Borderou de evaluare (job #1761440) | Borderou de evaluare (job #2048602) | Borderou de evaluare (job #1938407)
Borderou de evaluare (job #1938407)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS()’:
user.cpp:33:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<G[nod].size();i++)
^
user.cpp: In function ‘void BFSi()’:
user.cpp:51:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<iG[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:66:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:68:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:73:15: warning: overflow in implicit constant conversion [-Woverflow]
s2[i] = inf;
^
user.cpp:63:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in","r",stdin);
^
user.cpp:64:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out","w",stdout);
^
user.cpp:66:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:68:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:72:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:78:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK! | 10 |
2 | 0ms | 296kb | Timpul minim nu e ok! | 6 |
3 | 0ms | 300kb | Gresit! | 0 |
4 | 0ms | 300kb | OK! | 10 |
5 | 4ms | Depăşit | Memory limit exceeded. | 0 |
6 | 4ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | 296kb | A doua valoare gresita! | 7 |
8 | 4ms | Depăşit | Memory limit exceeded. | 0 |
9 | 8ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 300kb | A doua valoare gresita! | 7 |
Punctaj total | 40 |