Pagini recente » Borderou de evaluare (job #2706538) | Borderou de evaluare (job #2702440) | Borderou de evaluare (job #1227173) | Borderou de evaluare (job #1147842) | Borderou de evaluare (job #1227308)
Borderou de evaluare (job #1227308)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:19: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",T);
^
user.cpp:47:38: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
for(i=0;i<N;i++) printf("%ld ",a[i]);
^
user.cpp:34:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tgraf.in","r",stdin);
^
user.cpp:35:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tgraf.out","w",stdout);
^
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d",&P);P;P--)
^
user.cpp:37:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d %d",&N,&M);
^
user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d %d",&i,&j);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | Corect | 5 |
| 2 | 0ms | 260kb | Corect | 5 |
| 3 | 0ms | 256kb | Corect | 5 |
| 4 | 0ms | 256kb | Corect | 5 |
| 5 | 0ms | 252kb | Corect | 5 |
| 6 | 0ms | 252kb | Corect | 5 |
| 7 | 0ms | 260kb | Corect | 5 |
| 8 | 0ms | 256kb | Corect | 5 |
| 9 | 0ms | 252kb | Corect | 5 |
| 10 | 0ms | 260kb | Corect | 5 |
| 11 | 0ms | 252kb | Corect | 5 |
| 12 | 0ms | 256kb | Corect | 5 |
| 13 | 0ms | 260kb | Corect | 5 |
| 14 | 0ms | 260kb | Corect | 5 |
| 15 | 0ms | 256kb | Corect | 5 |
| 16 | 0ms | 256kb | Corect | 5 |
| 17 | 0ms | 252kb | Corect | 5 |
| 18 | 0ms | 252kb | Corect | 5 |
| 19 | 0ms | 256kb | Corect | 5 |
| 20 | 0ms | 256kb | Corect | 5 |
| Punctaj total | 100 |