Pagini recente » Borderou de evaluare (job #1591984) | Borderou de evaluare (job #1362703)
Borderou de evaluare (job #1362703)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:14:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in","r",stdin);
^
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.out","w",stdout);
^
user.cpp:16:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
user.cpp: In function ‘int main()’:
user.cpp:97:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:100:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
/tmp/ccbIbKDh.o: In function `citire()':
user.cpp:(.text+0x4d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 264kb | OK | 10 |
6 | 0ms | 264kb | OK | 10 |
7 | 0ms | 264kb | Incorect | 0 |
8 | 0ms | 264kb | OK | 10 |
9 | 0ms | 260kb | OK | 10 |
10 | 0ms | 264kb | OK | 10 |
Punctaj total | 70 |