Pagini recente » Cod sursa (job #1455768) | Cod sursa (job #2122250) | Cod sursa (job #422552) | Cod sursa (job #1709938) | Borderou de evaluare (job #1299573)
Borderou de evaluare (job #1299573)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bunicu.in", "r", stdin);
^
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bunicu.out", "w", stdout);
^
user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:28:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccTcBeSU.o: In function `main':
user.cpp:(.text.startup+0xb0): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 12ms | 280kb | A BA DA!!! | 20 | 100 |
| 2 | 12ms | 276kb | A BA DA!!! | 20 |
| 3 | 12ms | 280kb | A BA DA!!! | 20 |
| 4 | 28ms | 284kb | A BA DA!!! | 20 |
| 5 | 72ms | 284kb | A BA DA!!! | 20 |
| Punctaj total | 100 |