Pagini recente » Borderou de evaluare (job #2529938) | Borderou de evaluare (job #2345112) | Borderou de evaluare (job #1682581) | Borderou de evaluare (job #2624100) | Borderou de evaluare (job #1220560)
Borderou de evaluare (job #1220560)
Raport evaluator
Compilare:
user.cpp: In function ‘void afla(int)’:
user.cpp:64:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<g[nod].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:75:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lant.in","r",stdin);
^
user.cpp:76:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lant.out","w",stdout);
^
user.cpp:78:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:79:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:89:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccpwUPm6.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 288kb | OK | 10 |
8 | 8ms | 300kb | OK | 10 |
9 | 0ms | 300kb | OK | 10 |
10 | 4ms | 288kb | OK | 10 |
Punctaj total | 100 |