Pagini recente » Cod sursa (job #424062) | Cod sursa (job #1592003) | Cod sursa (job #3201130) | Statistici Paval Bogdan (bogdan_paval) | Borderou de evaluare (job #1528500)
Borderou de evaluare (job #1528500)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in","r",stdin);
^
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out","w",stdout);
^
user.cpp:10:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr); gets(s);
^
user.cpp:10:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr); gets(s);
^
user.cpp:12:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); n=strlen(s+1); k=0; urm[1]=0; sol=0;
^
/tmp/ccLzo9az.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 | 276kb | OK | 10 |
| 3 | 0ms | 356kb | OK | 10 |
| 4 | 24ms | 2568kb | OK | 10 |
| 5 | 8ms | 764kb | OK | 10 |
| 6 | 16ms | 1492kb | OK | 10 |
| 7 | 48ms | 3528kb | OK | 10 |
| 8 | 76ms | 5092kb | OK | 10 |
| 9 | 4ms | 596kb | OK | 10 |
| 10 | 0ms | 284kb | OK | 10 |
| Punctaj total | 100 |