Pagini recente » Borderou de evaluare (job #1343679) | Borderou de evaluare (job #864258) | Borderou de evaluare (job #1104861) | Borderou de evaluare (job #434646) | Borderou de evaluare (job #2503948)
Borderou de evaluare (job #2503948)
Raport evaluator
Compilare:
main.cpp: In function 'void afisare(int)':
main.cpp:43:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < ans.size() ; i ++)
~~^~~~~~~~~~~~
main.cpp:49:38: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d " , aux.size());
^
main.cpp:50:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < aux.size() ; j ++)
~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:92:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("1\n%d " , ans.size());
^
main.cpp:93:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < ans.size() ; i ++)
~~^~~~~~~~~~~~
main.cpp:61:29: warning: unused variable 'gasit' [-Wunused-variable]
int n , m , u , v , i , gasit , nr;
^~~~~
main.cpp:59:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("johnie.in" , "r" , stdin);
^
main.cpp:60:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("johnie.out" , "w" , stdout);
^
main.cpp:62:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &m);
^
main.cpp:65:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &u , &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 1310kb | OK | 10 |
2 | 5ms | 1310kb | OK | 10 |
3 | 11ms | 1572kb | OK | 10 |
4 | 20ms | 1966kb | OK | 10 |
5 | 79ms | 3936kb | OK | 10 |
6 | 89ms | 4288kb | OK | 10 |
7 | 124ms | 4804kb | OK | 10 |
8 | 157ms | 5955kb | OK | 10 |
9 | 190ms | 6656kb | OK | 10 |
10 | 4ms | 1310kb | OK | 10 |
Punctaj total | 100 |