Pagini recente » Borderou de evaluare (job #4725) | Borderou de evaluare (job #1394838) | Borderou de evaluare (job #1407847) | Borderou de evaluare (job #3242408) | Borderou de evaluare (job #2732687)
Borderou de evaluare (job #2732687)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:219:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (el1 < v.size()){
~~~~^~~~~~~~~~
main.cpp:227:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<std::pair<char, std::pair<int, int> > >::size_type {aka long unsigned int}' [-Wformat=]
fprintf (fout,"%d\n" , v.size());
^
main.cpp:230:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < v.size() ; i++){
~~^~~~~~~~~~
main.cpp:247:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<std::pair<char, std::pair<int, int> > >::size_type {aka long unsigned int}' [-Wformat=]
fprintf (fout,"%d\n" , v.size());
^
main.cpp:250:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < v.size() ; i++){
~~^~~~~~~~~~
main.cpp:171:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d\n",&p,&t);
^
main.cpp:173:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d\n",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 10ms | 1007kb | Corect! | 14 |
2 | 88ms | 5505kb | Corect! | 13 |
3 | 100ms | 8257kb | Corect! | 13 |
4 | 7ms | 262kb | Gresit! | 0 |
5 | 16ms | 524kb | Gresit! | 0 |
6 | 26ms | 917kb | Gresit! | 0 |
7 | 71ms | 1785kb | Gresit! | 0 |
8 | 109ms | 3407kb | Gresit! | 0 |
9 | 219ms | 8257kb | Corect! | 6 |
10 | 8ms | 262kb | Corect, dar numarul de operatii nu este minim! | 1 |
11 | 15ms | 524kb | Corect, dar numarul de operatii nu este minim! | 2 |
12 | 26ms | 917kb | Corect, dar numarul de operatii nu este minim! | 2 |
13 | 52ms | 1703kb | Corect, dar numarul de operatii nu este minim! | 2 |
14 | 106ms | 3407kb | Corect, dar numarul de operatii nu este minim! | 3 |
15 | 233ms | 8257kb | Corect! | 6 |
Punctaj total | 62 |