Pagini recente » Borderou de evaluare (job #1472700) | Borderou de evaluare (job #1706968) | Borderou de evaluare (job #1385198) | Borderou de evaluare (job #2036231) | Borderou de evaluare (job #1463190)
Borderou de evaluare (job #1463190)
Raport evaluator
Compilare:
user.cpp: In function ‘int parcurg(int)’:
user.cpp:93:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size(); i++)
^
user.cpp: In function ‘void citire()’:
user.cpp:31:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c", &k, &trash);
^
user.cpp:34:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp: In function ‘int main()’:
user.cpp:103:35: 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:104:37: 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);
^
/tmp/ccvLv6SW.o: In function `citire()':
user.cpp:(.text+0xe5): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | OK | 10 |
2 | 4ms | 524kb | OK | 10 |
3 | 4ms | 516kb | OK | 10 |
4 | 0ms | 500kb | OK | 10 |
5 | 0ms | 468kb | OK | 10 |
6 | 0ms | 480kb | OK | 10 |
7 | 0ms | 472kb | OK | 10 |
8 | 12ms | 540kb | OK | 10 |
9 | 4ms | 516kb | OK | 10 |
10 | 12ms | 552kb | OK | 10 |
Punctaj total | 100 |