Pagini recente » Borderou de evaluare (job #2477085) | Borderou de evaluare (job #1586949) | Borderou de evaluare (job #1696702) | Borderou de evaluare (job #789467) | Borderou de evaluare (job #1211971)
Borderou de evaluare (job #1211971)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in","r",stdin);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out","w",stdout);
^
user.cpp:9:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=0;i<=26;i++) scanf("%d", &a[i]);
^
user.cpp:10:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n"); gets(s); n=strlen(s); scanf("%d", &w); poz=-1; lg=0;
^
user.cpp:10:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n"); gets(s); n=strlen(s); scanf("%d", &w); poz=-1; lg=0;
^
user.cpp:10:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n"); gets(s); n=strlen(s); scanf("%d", &w); poz=-1; lg=0;
^
/tmp/cchyGRFw.o: In function `main':
user.cpp:(.text.startup+0x9d): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 256kb | Incorect | 0 | 0 |
| 2 | 0ms | 264kb | Incorect | 0 |
| 3 | 0ms | 272kb | Incorect | 0 |
| 4 | 0ms | 256kb | OK | 10 |
| 5 | 0ms | 260kb | Incorect | 0 |
| 6 | 0ms | 260kb | Incorect | 0 |
| 7 | 0ms | 264kb | OK | 10 |
| 8 | 0ms | 264kb | Incorect | 0 |
| 9 | 0ms | 260kb | Incorect | 0 |
| 10 | 0ms | 264kb | Incorect | 0 |
| Punctaj total | 0 |