Pagini recente » Borderou de evaluare (job #1302705) | Borderou de evaluare (job #1110637) | Borderou de evaluare (job #1538709) | Borderou de evaluare (job #1559893) | Borderou de evaluare (job #1535176)
Borderou de evaluare (job #1535176)
Raport evaluator
Compilare:
user.cpp: In function ‘int del(int, nod*)’:
user.cpp:52:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘void citire()’:
user.cpp:67:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c", &na, &t);
^
user.cpp:69:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:76:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c", &nb, &t);
^
user.cpp:78:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘int main()’:
user.cpp:86:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in", "r", stdin);
^
user.cpp:87:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w", stdout);
^
/tmp/cc7G9ZGP.o: In function `citire()':
user.cpp:(.text+0x1c4): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | OK | 10 |
| 2 | 0ms | 516kb | OK | 10 |
| 3 | 0ms | 592kb | OK | 10 |
| 4 | 0ms | 1096kb | OK | 10 |
| 5 | 4ms | 1892kb | OK | 10 |
| 6 | 12ms | 2000kb | OK | 10 |
| 7 | 24ms | 6244kb | OK | 10 |
| 8 | 24ms | 6348kb | OK | 10 |
| 9 | 36ms | 6400kb | OK | 10 |
| 10 | 28ms | 6152kb | OK | 10 |
| Punctaj total | 100 |