Pagini recente » Borderou de evaluare (job #3185772) | Borderou de evaluare (job #2186091)
Borderou de evaluare (job #2186091)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:276:45: warning: unused variable ‘rgt’ [-Wunused-variable]
int lft = (*it1).first, rgt = (*it1).second;
^~~
user.cpp:287:25: warning: unused variable ‘lft’ [-Wunused-variable]
int lft = (*it2).first, rgt = (*it2).second;
^~~
user.cpp:311:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if(s[6] = 'A') printf("%d\n", trp.getdifmax());
^
user.cpp:169:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("brasov.in", "r", stdin);
^
user.cpp:170:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("brasov.out", "w", stdout);
^
user.cpp:176:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &Q);
^
user.cpp:180:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c\n", &op);
^
user.cpp:184:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &st, &dr);
^
user.cpp:230:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &st, &dr);
^
user.cpp:298:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &st, &dr);
^
user.cpp:303:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", s + 1);
^
user.cpp:309:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", s + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 380ms | 6564kb | Killed by signal 6(SIGABRT). | 0 | 0 |
2 | 760ms | 10324kb | Killed by signal 6(SIGABRT). | 0 |
3 | 748ms | 12164kb | Killed by signal 6(SIGABRT). | 0 |
4 | 496ms | 7616kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 1248ms | 15284kb | Killed by signal 6(SIGABRT). | 0 |
6 | 956ms | 13312kb | Incorect | 0 |
7 | 1004ms | 12692kb | Killed by signal 6(SIGABRT). | 0 |
8 | 132ms | 3348kb | Killed by signal 6(SIGABRT). | 0 |
9 | 8ms | 1476kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 1156ms | 15376kb | Incorect | 0 |
Punctaj total | 0 |