Pagini recente » Borderou de evaluare (job #906249) | Borderou de evaluare (job #913630) | Borderou de evaluare (job #2554558) | Borderou de evaluare (job #39746) | Borderou de evaluare (job #2279523)
Borderou de evaluare (job #2279523)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %d",&n,&m);
^
main.cpp:14:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:29:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d",&x);
^
main.cpp:31:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d ",x);
^
main.cpp:37:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d ",x);
^
main.cpp:42:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d",&x);
^
main.cpp:12:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("placare.in","r",stdin);
^
main.cpp:13:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("placare.out","w",stdout);
^
main.cpp:14:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
main.cpp:29:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
main.cpp:42:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 27ms | 131kb | Incorect | 0 |
4 | 13ms | 131kb | Incorect | 0 |
5 | 8ms | 131kb | Incorect | 0 |
6 | 13ms | 131kb | OK | 10 |
7 | 4ms | 131kb | Incorect | 0 |
8 | 101ms | 262kb | Time limit exceeded | 0 |
9 | 100ms | 262kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 10 |