Pagini recente » Borderou de evaluare (job #1372262) | Borderou de evaluare (job #2722719) | Borderou de evaluare (job #3174941) | Borderou de evaluare (job #70938) | Borderou de evaluare (job #2506224)
Borderou de evaluare (job #2506224)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:22:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:114:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<nodspec.size(); i++){
~^~~~~~~~~~~~~~~
main.cpp:117:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<g[nodspec[i]].size(); j++)
~^~~~~~~~~~~~~~~~~~~~~
main.cpp:161:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<g[i].size(); j++)
~^~~~~~~~~~~~
main.cpp:181:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<g[i].size(); j++)
~^~~~~~~~~~~~
main.cpp:84:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("metrou2.in", "r", stdin);
^
main.cpp:85:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("metrou2.out", "w", stdout);
^
main.cpp:87:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:89:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &prof[i]);
^
main.cpp:91:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 2883kb | OK | 10 |
2 | 10ms | 2883kb | OK | 10 |
3 | 8ms | 3014kb | OK | 10 |
4 | 8ms | 2621kb | OK | 10 |
5 | 19ms | 3407kb | Incorect | 0 |
6 | 45ms | 3391kb | OK | 10 |
7 | 71ms | 5111kb | OK | 10 |
8 | 121ms | 4980kb | OK | 10 |
9 | 183ms | 7077kb | OK | 10 |
10 | 201ms | 7208kb | OK | 10 |
Punctaj total | 90 |