Pagini recente » Borderou de evaluare (job #651005) | Borderou de evaluare (job #628069) | Borderou de evaluare (job #1213425) | Borderou de evaluare (job #2169671) | Borderou de evaluare (job #2040475)
Borderou de evaluare (job #2040475)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:9:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); n=strlen(s);
^
user.cpp: In function ‘int main()’:
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.in","r",stdin);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.out","w",stdout);
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &t); t=n-t;
^
/tmp/ccqWRMbU.o: In function `solve()':
user.cpp:(.text+0x29): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 248kb | OK | 10 |
5 | 0ms | 256kb | OK | 10 |
6 | 0ms | 264kb | OK | 10 |
7 | 0ms | 260kb | OK | 10 |
8 | 0ms | 260kb | OK | 10 |
9 | 0ms | 264kb | OK | 10 |
10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 90 |