Pagini recente » Borderou de evaluare (job #1433390) | Borderou de evaluare (job #1828183) | Borderou de evaluare (job #1125722) | Borderou de evaluare (job #3262879) | Borderou de evaluare (job #1726908)
Borderou de evaluare (job #1726908)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("text2.in", "r", stdin);
^
user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("text2.out", "w", stdout);
^
user.cpp:37:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (str + 1);
^
user.cpp:40:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &k);
^
/tmp/cch6GzvJ.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 812kb | Corect! | 10 |
2 | 0ms | 796kb | Corect! | 10 |
3 | 0ms | 820kb | Corect! | 10 |
4 | 0ms | 852kb | Corect! | 10 |
5 | 0ms | 880kb | Corect! | 10 |
6 | 0ms | 944kb | Corect! | 10 |
7 | 0ms | 860kb | Corect! | 10 |
8 | 0ms | 920kb | Corect! | 10 |
9 | 0ms | 968kb | Corect! | 10 |
10 | 0ms | 988kb | Corect! | 10 |
Punctaj total | 100 |