Pagini recente » Borderou de evaluare (job #121700) | Borderou de evaluare (job #3174880) | Borderou de evaluare (job #1907387) | Monitorul de evaluare | Borderou de evaluare (job #1693230)
Borderou de evaluare (job #1693230)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in","r",stdin);
^
user.cpp:44:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out","w",stdout);
^
user.cpp:45:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:46:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cc2BSyuo.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1416kb | OK! | 10 |
| 2 | 0ms | 1416kb | OK! | 10 |
| 3 | 0ms | 1420kb | OK! | 10 |
| 4 | 0ms | 1432kb | OK! | 10 |
| 5 | 20ms | 1904kb | OK! | 10 |
| 6 | 12ms | 1612kb | OK! | 10 |
| 7 | 20ms | 1764kb | OK! | 10 |
| 8 | 32ms | 1904kb | OK! | 10 |
| 9 | 8ms | 1552kb | OK! | 10 |
| 10 | 20ms | 1680kb | OK! | 10 |
| Punctaj total | 100 |