Pagini recente » Cod sursa (job #21549) | Borderou de evaluare (job #1686821) | Cod sursa (job #173098) | Cod sursa (job #551208) | Borderou de evaluare (job #1500234)
Borderou de evaluare (job #1500234)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:87:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semne3.in","r",stdin);
^
user.cpp:88:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semne3.out","w",stdout);
^
user.cpp:89:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:90:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
/tmp/ccBEFiRh.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 | 276kb | OK. | 10 |
| 2 | 0ms | 272kb | OK. | 10 |
| 3 | 0ms | 268kb | OK. | 10 |
| 4 | 0ms | 280kb | OK. | 10 |
| 5 | 32ms | 764kb | OK. | 10 |
| 6 | 32ms | 760kb | OK. | 10 |
| 7 | 72ms | 1256kb | OK. | 10 |
| 8 | 108ms | 1740kb | OK. | 10 |
| 9 | 140ms | 2232kb | OK. | 10 |
| 10 | 168ms | 2708kb | OK. | 10 |
| Punctaj total | 100 |