Pagini recente » Borderou de evaluare (job #2610706) | Borderou de evaluare (job #1556717) | Borderou de evaluare (job #1513799) | Borderou de evaluare (job #2910794) | Borderou de evaluare (job #1211984)
Borderou de evaluare (job #1211984)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8: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:9: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:10: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:11: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("%lld", &w); poz=-1; lg=0;
^
user.cpp:11: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("%lld", &w); poz=-1; lg=0;
^
user.cpp:11:57: 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("%lld", &w); poz=-1; lg=0;
^
/tmp/ccg470dc.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 | 260kb | Incorect | 0 | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 0ms | 260kb | Incorect | 0 |
6 | 0ms | 264kb | Incorect | 0 |
7 | 0ms | 260kb | OK | 10 |
8 | 0ms | 260kb | Incorect | 0 |
9 | 0ms | 264kb | Incorect | 0 |
10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 0 |