Pagini recente » Borderou de evaluare (job #664881) | Borderou de evaluare (job #1057981) | Borderou de evaluare (job #2740275) | Borderou de evaluare (job #829572) | Borderou de evaluare (job #1466269)
Borderou de evaluare (job #1466269)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",v[n][n]);
^
user.cpp:29:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
for(i=2;i<=n;++i) printf("%ld\n",r[i]);
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.out","w",stdout);
^
user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(w);
^
/tmp/cccHvh7m.o: In function `main':
user.cpp:(.text.startup+0x93): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 132ms | 2232kb | OK | 10 |
| 2 | 0ms | 388kb | OK | 10 |
| 3 | 0ms | 508kb | OK | 10 |
| 4 | 0ms | 672kb | OK | 10 |
| 5 | 28ms | 4192kb | OK | 10 |
| 6 | 16ms | 3320kb | OK | 10 |
| 7 | Depăşit | 4160kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 4160kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 4112kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 4160kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |