Pagini recente » Borderou de evaluare (job #1701581) | Borderou de evaluare (job #2494595) | Borderou de evaluare (job #1502473) | Borderou de evaluare (job #549051) | Borderou de evaluare (job #1417482)
Borderou de evaluare (job #1417482)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:23: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld\n", &n);
^
user.cpp:19:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.in","r",stdin);
^
user.cpp:20:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.out","w",stdout);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n", &n);
^
user.cpp:26:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buff + 1); long long lg = strlen(buff + 1);
^
/tmp/ccV37VKl.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 300kb | OK | 10 |
4 | 0ms | 408kb | OK | 10 |
5 | 20ms | 1052kb | OK | 10 |
6 | 172ms | 6596kb | OK | 10 |
7 | 172ms | 7388kb | OK | 10 |
8 | 192ms | 7388kb | OK | 10 |
9 | Depăşit | 8320kb | Time limit exceeded. | 0 |
10 | 0ms | 292kb | OK | 10 |
Punctaj total | 90 |