Borderou de evaluare (job #1949210)
Raport evaluator
Compilare:
user.cpp: In function ‘void trans(int)’:
user.cpp:22:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<c[p].size(); i++){
^
user.cpp:24:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0; j<drum.size() && pp == 0; j++){
^
user.cpp: In function ‘int main()’:
user.cpp:45:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf ("%d %d %d", &n, &xf, &yf);
^
user.cpp:45:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:48:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf ("%d %d", &x, &y);
^
user.cpp:48:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:42:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pachete.in", "r", stdin);
^
user.cpp:43:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pachete.out", "w", stdout);
^
user.cpp:45:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d", &n, &xf, &yf);
^
user.cpp:48:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 10 | 10 |
2 | 0ms | 288kb | OK | 10 | 10 |
3 | 0ms | 300kb | OK | 10 | 10 |
4 | 4ms | 404kb | OK | 10 | 10 |
5 | 56ms | 1148kb | OK | 10 | 10 |
6 | 60ms | 1180kb | OK | 10 | 10 |
7 | 16ms | 528kb | OK | 10 | 10 |
8 | 32ms | 724kb | OK | 10 | 0 |
9 | 60ms | 1460kb | OK | 10 |
10 | Depăşit | 1168kb | Time limit exceeded. | 0 |
Punctaj total | 70 |