Pagini recente » Borderou de evaluare (job #1757627) | Borderou de evaluare (job #3195235) | Borderou de evaluare (job #1056805) | Borderou de evaluare (job #2310051) | Borderou de evaluare (job #1252960)
Borderou de evaluare (job #1252960)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(s);i++)
^
user.cpp:25: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:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
user.cpp:24:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1);
^
/tmp/ccBWTTtS.o: In function `main':
user.cpp:(.text.startup+0x57): 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 | 264kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 264kb | OK | 10 |
| 5 | 0ms | 264kb | OK | 10 |
| 6 | 0ms | 268kb | OK | 10 |
| 7 | 8ms | 300kb | OK | 10 |
| 8 | 12ms | 308kb | OK | 10 |
| 9 | Depăşit | 308kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 300kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |