Pagini recente » Borderou de evaluare (job #377324) | Borderou de evaluare (job #257216) | Borderou de evaluare (job #401759) | Borderou de evaluare (job #2049297) | Borderou de evaluare (job #2040472)
Borderou de evaluare (job #2040472)
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:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r",stdin);
^
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.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);
^
/tmp/cc8d7cm8.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 | 252kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 256kb | OK | 10 |
6 | 0ms | 400kb | OK | 10 |
7 | 0ms | 368kb | OK | 10 |
8 | 16ms | 1772kb | OK | 10 |
9 | 16ms | 2152kb | OK | 10 |
10 | 16ms | 1824kb | OK | 10 |
Punctaj total | 100 |