Pagini recente » Cod sursa (job #577771) | Cod sursa (job #263263) | Borderou de evaluare (job #2655564) | Borderou de evaluare (job #1067027) | Borderou de evaluare (job #1252961)
Borderou de evaluare (job #1252961)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(s1);i++)
^
user.cpp:7:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.in","r",stdin);
^
user.cpp:8:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.out","w",stdout);
^
user.cpp:9:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
user.cpp:25:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1);
^
/tmp/ccGBUS3C.o: In function `main':
user.cpp:(.text.startup+0x55): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 0ms | 260kb | OK | 10 |
| 6 | 0ms | 264kb | OK | 10 |
| 7 | 0ms | 292kb | OK | 10 |
| 8 | 0ms | 300kb | OK | 10 |
| 9 | Depăşit | 772kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 788kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |