Pagini recente » Borderou de evaluare (job #1182943) | Borderou de evaluare (job #2163714) | Borderou de evaluare (job #2879039) | Borderou de evaluare (job #1690361) | Borderou de evaluare (job #1511661)
Borderou de evaluare (job #1511661)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("char.in", "r", stdin);
^
user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("char.out", "w", stdout);
^
user.cpp:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:24:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &h);
^
user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &put);
^
/tmp/ccHP4yTJ.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 268kb | OK | 10 |
6 | 0ms | 272kb | OK | 10 |
7 | 0ms | 284kb | OK | 10 |
8 | 0ms | 376kb | OK | 10 |
9 | 0ms | 388kb | OK | 10 |
10 | 0ms | 392kb | OK | 10 |
Punctaj total | 100 |