Pagini recente » Borderou de evaluare (job #917225) | Borderou de evaluare (job #278866) | Borderou de evaluare (job #599179) | Borderou de evaluare (job #2572948) | Borderou de evaluare (job #1220478)
Borderou de evaluare (job #1220478)
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/ccoBGZHz.o: In function `main':
user.cpp:(.text.startup+0x69): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | Incorect | 0 |
| 2 | 4ms | 308kb | Incorect | 0 |
| 3 | 4ms | 316kb | Incorect | 0 |
| 4 | 0ms | 304kb | Incorect | 0 |
| 5 | 0ms | 292kb | OK | 10 |
| 6 | 0ms | 292kb | Incorect | 0 |
| 7 | 0ms | 280kb | OK | 10 |
| 8 | 8ms | 304kb | Incorect | 0 |
| 9 | 0ms | 304kb | Incorect | 0 |
| 10 | 0ms | 408kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 20 |