Pagini recente » Borderou de evaluare (job #54498) | Borderou de evaluare (job #827486) | Borderou de evaluare (job #378769) | Borderou de evaluare (job #1566816) | Borderou de evaluare (job #1434705)
Borderou de evaluare (job #1434705)
Raport evaluator
Compilare:
user.cpp: In function ‘void rezolvare()’:
user.cpp:10:12: 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:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.in","r",stdin);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.out","w",stdout);
^
user.cpp:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:22:12: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x=x%100;
^
/tmp/ccbWfbwn.o: In function `rezolvare()':
user.cpp:(.text+0x15): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Raspuns gresit! | 0 |
2 | 0ms | 264kb | Raspuns gresit! | 0 |
3 | 0ms | 260kb | Raspuns gresit! | 0 |
4 | 0ms | 264kb | Raspuns gresit! | 0 |
5 | 0ms | 264kb | Raspuns gresit! | 0 |
6 | 0ms | 264kb | Raspuns gresit! | 0 |
7 | 0ms | 264kb | Raspuns gresit! | 0 |
8 | 4ms | 260kb | Raspuns gresit! | 0 |
9 | 8ms | 256kb | Raspuns gresit! | 0 |
10 | 16ms | 256kb | Raspuns gresit! | 0 |
Punctaj total | 0 |