Pagini recente » Borderou de evaluare (job #1586502) | Cod sursa (job #97030) | Cod sursa (job #1007158) | Borderou de evaluare (job #1942042) | Borderou de evaluare (job #1505668)
Borderou de evaluare (job #1505668)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:224:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.in","r",stdin);
^
user.cpp:225:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.out","w",stdout);
^
user.cpp:227:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:230:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1);
^
user.cpp:231:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s2);
^
/tmp/ccGp81R9.o: In function `main':
user.cpp:(.text.startup+0x9c): 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 | 276kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 272kb | OK | 10 |
| 5 | 12ms | 276kb | OK | 10 |
| 6 | 4ms | 272kb | OK | 10 |
| 7 | 4ms | 272kb | OK | 10 |
| 8 | 0ms | 272kb | OK | 10 |
| 9 | 0ms | 272kb | OK | 10 |
| 10 | 4ms | 276kb | OK | 10 |
| Punctaj total | 100 |