Pagini recente » Borderou de evaluare (job #2014221) | Borderou de evaluare (job #98974) | Borderou de evaluare (job #423006) | Borderou de evaluare (job #2014229) | Borderou de evaluare (job #2311645)
Borderou de evaluare (job #2311645)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d%d", &n, &m);
^
main.cpp:24:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
main.cpp:30:42: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d%d", &v[i].first, &v[i].second);
^
main.cpp:30:42: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
main.cpp:26:8: warning: unused variable 'start' [-Wunused-variable]
short start = 1;
^~~~~
main.cpp:19:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tester.in","r",stdin);
^
main.cpp:20:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tester.out","w",stdout);
^
main.cpp:24:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:30:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &v[i].first, &v[i].second);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 262kb | OK! | 10 |
| 2 | 3ms | 262kb | OK! | 10 |
| 3 | 4ms | 262kb | OK! | 10 |
| 4 | 22ms | 655kb | OK! | 10 |
| 5 | 62ms | 1048kb | Raspuns gresit! | 0 |
| 6 | 38ms | 786kb | OK! | 10 |
| 7 | 57ms | 5324kb | Raspuns gresit! | 0 |
| 8 | 121ms | 5713kb | Raspuns gresit! | 0 |
| 9 | 72ms | 1159kb | Raspuns gresit! | 0 |
| 10 | 40ms | 786kb | Raspuns gresit! | 0 |
| Punctaj total | 50 |