Pagini recente » Borderou de evaluare (job #224117) | Borderou de evaluare (job #2619733) | Borderou de evaluare (job #537720) | Borderou de evaluare (job #382291) | Borderou de evaluare (job #2735713)
Borderou de evaluare (job #2735713)
Raport evaluator
Compilare:
main.cpp: In function 'int cntop(int, int, std::__cxx11::string, std::__cxx11::string)':
main.cpp:23:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < l.length() ; i ++)
~~^~~~~~~~~~~~
main.cpp:30:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < c.length() ; i ++)
~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:59:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < v.size() && !ok ; j ++)
~~^~~~~~~~~~
main.cpp:74:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < v.size() && ok ; i ++)
~~^~~~~~~~~~
main.cpp:77:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < v[i].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp:82:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < v[0].length() && ok ; j ++)
~~^~~~~~~~~~~~~~~
main.cpp:102:31: warning: variable 'imin' set but not used [-Wunused-but-set-variable]
int mn = INF, op, imin, jmin;
^~~~
main.cpp:102:37: warning: variable 'jmin' set but not used [-Wunused-but-set-variable]
int mn = INF, op, imin, jmin;
^~~~
main.cpp:41:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("polihroniade.in", "r", stdin);
^
main.cpp:42:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("polihroniade.out", "w", stdout);
^
main.cpp:44:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &p, &tst);
^
main.cpp:51:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
main.cpp:48:17: warning: iteration 1005 invokes undefined behavior [-Waggressive-loop-optimizations]
t[1][j] = (!(j & 1)) + '0';
~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:47:19: note: within this loop
for(j = 0 ; j < 2000 ; j ++)
~~^~~~~~
main.cpp:46:17: warning: iteration 1005 invokes undefined behavior [-Waggressive-loop-optimizations]
t[0][j] = (j & 1) + '0';
~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:45:19: note: within this loop
for(j = 0 ; j < 2000 ; j ++)
~~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 13ms | 131kb | Corect! | 14 |
2 | 69ms | 131kb | Corect! | 13 |
3 | 76ms | 131kb | Corect! | 13 |
4 | 7ms | 131kb | Corect! | 5 |
5 | 11ms | 131kb | Corect! | 5 |
6 | 18ms | 131kb | Corect! | 6 |
7 | 32ms | 131kb | Corect! | 6 |
8 | 60ms | 131kb | Corect! | 6 |
9 | 162ms | 131kb | Corect! | 6 |
10 | 6ms | 131kb | Gresit! | 0 |
11 | 10ms | 131kb | Gresit! | 0 |
12 | 17ms | 131kb | Gresit! | 0 |
13 | 32ms | 131kb | Gresit! | 0 |
14 | 60ms | 131kb | Gresit! | 0 |
15 | 135ms | 131kb | Gresit! | 0 |
Punctaj total | 74 |