Borderou de evaluare (job #1447264)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<str> divide(int, int, int)’:
user.cpp:51:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(x<q1.size() && q1[x].x<i/2) x++;
^
user.cpp:55:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<q1.size() || j<q2.size())
^
user.cpp:55:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<q1.size() || j<q2.size())
^
user.cpp:57:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j==q2.size() || v[tip][q1[i].poz].a<v[tip][q2[j].poz].a) q.push_back(q1[i++]);
^
user.cpp: In function ‘int main()’:
user.cpp:95:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easyvect.in", "r", stdin);
^
user.cpp:96:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easyvect.out", "w", stdout);
^
user.cpp:98:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d",&t);t;t--)
^
user.cpp:101:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:104:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val[i]);
^
user.cpp:111:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |