Pagini recente » Borderou de evaluare (job #888989) | Borderou de evaluare (job #53502) | Borderou de evaluare (job #2620427) | Borderou de evaluare (job #621134) | Borderou de evaluare (job #2341519)
Borderou de evaluare (job #2341519)
Raport evaluator
Compilare:
main.cpp: In function 'void sortare()':
main.cpp:43:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[x].size();i++)
~^~~~~~~~~~~~
main.cpp: In function 'void dfsMin(int)':
main.cpp:61:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<g[nod].size();j++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void dfsMax(int)':
main.cpp:76:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<gt[nod].size();j++)
~^~~~~~~~~~~~~~~
main.cpp: In function 'void citire()':
main.cpp:14:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
main.cpp:16:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &c[i]);
^
main.cpp:20:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &nr);
^
main.cpp:23:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &x);
^
main.cpp: In function 'int main()':
main.cpp:119:34: 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);
^
main.cpp:120:36: 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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 2ms | 131kb | OK! | 10 |
4 | 2ms | 131kb | OK! | 10 |
5 | 4ms | 262kb | OK! | 10 |
6 | 4ms | 131kb | OK! | 10 |
7 | 2ms | 131kb | OK! | 10 |
8 | 3ms | 131kb | OK! | 10 |
9 | 3ms | 131kb | OK! | 10 |
10 | 2ms | 131kb | OK! | 10 |
Punctaj total | 100 |