Pagini recente » Borderou de evaluare (job #1310517) | Borderou de evaluare (job #1592081) | Borderou de evaluare (job #2563844) | Borderou de evaluare (job #2341017) | Borderou de evaluare (job #1426049)
Borderou de evaluare (job #1426049)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in","r",stdin);
^
user.cpp:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out","w",stdout);
^
user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&T);
^
user.cpp:40:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); n=strlen(a+1);
^
/tmp/ccu3QzfU.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 528kb | OK | 10 |
4 | 28ms | 2748kb | OK | 10 |
5 | 8ms | 928kb | OK | 10 |
6 | 20ms | 1672kb | OK | 10 |
7 | 52ms | 3700kb | OK | 10 |
8 | 76ms | 5268kb | OK | 10 |
9 | 4ms | 768kb | OK | 10 |
10 | 0ms | 452kb | OK | 10 |
Punctaj total | 100 |