Pagini recente » Borderou de evaluare (job #2156418) | Borderou de evaluare (job #726796) | Borderou de evaluare (job #332649) | Borderou de evaluare (job #1786270) | Borderou de evaluare (job #2279666)
Borderou de evaluare (job #2279666)
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:35:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d ",x);
^
main.cpp:46:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d ",x);
^
main.cpp:51: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:51: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 | 103ms | 1441kb | Time limit exceeded | 0 |
2 | 100ms | 1310kb | Time limit exceeded | 0 |
3 | 101ms | 1835kb | Time limit exceeded | 0 |
4 | 103ms | 1703kb | Time limit exceeded | 0 |
5 | 101ms | 1835kb | Time limit exceeded | 0 |
6 | 3ms | 131kb | OK | 10 |
7 | 101ms | 1572kb | Time limit exceeded | 0 |
8 | 103ms | 2097kb | Time limit exceeded | 0 |
9 | 101ms | 1835kb | Time limit exceeded | 0 |
10 | 103ms | 1441kb | Time limit exceeded | 0 |
Punctaj total | 10 |