Pagini recente » Borderou de evaluare (job #1429230) | Borderou de evaluare (job #683106) | Borderou de evaluare (job #1376140) | Borderou de evaluare (job #2780931) | Borderou de evaluare (job #2503947)
Borderou de evaluare (job #2503947)
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 | 5ms | 1310kb | OK | 10 |
2 | 5ms | 1310kb | OK | 10 |
3 | 11ms | 1572kb | OK | 10 |
4 | 20ms | 1966kb | OK | 10 |
5 | 79ms | 3805kb | OK | 10 |
6 | 88ms | 4288kb | OK | 10 |
7 | 106ms | 4804kb | OK | 10 |
8 | 87ms | 4583kb | Killed by Signal 11 | 0 |
9 | 116ms | 4845kb | Killed by Signal 11 | 0 |
10 | 4ms | 1310kb | OK | 10 |
Punctaj total | 80 |