Pagini recente » Borderou de evaluare (job #1575457) | Borderou de evaluare (job #2255091) | Borderou de evaluare (job #1588339) | Borderou de evaluare (job #1777291) | Borderou de evaluare (job #1254717)
Borderou de evaluare (job #1254717)
Raport evaluator
Compilare:
user.cpp: In function ‘bool exists(int)’:
user.cpp:58:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((it -> currentConfig) == conf) return true;
^
user.cpp: In function ‘void updateG(str)’:
user.cpp:73:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((it -> currentConfig) == conf) *it = nou;
^
user.cpp: In function ‘str strOf(int)’:
user.cpp:81:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((it -> currentConfig) == conf) return *it;
^
user.cpp: In function ‘int main()’:
user.cpp:92:13: warning: unused variable ‘conf’ [-Wunused-variable]
int conf,q;
^
user.cpp:121:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lastSTR.cost <= newCost) continue;
^
user.cpp:123:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (newCost < bestBombingCost)
^
user.cpp:133:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (newCost < bestBombingCost)
^
user.cpp:144:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ct.currentConfig != initConfig)
^
user.cpp: In function ‘str strOf(int)’:
user.cpp:83:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:87:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("boom.in","r",stdin);
^
user.cpp:88:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("boom.out","w",stdout);
^
user.cpp:89:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:93:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&bombs[i].cost,&q);
^
user.cpp:97:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&ct);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 8072kb | Just perfect! | 10 |
2 | 12ms | 8076kb | Just perfect! | 10 |
3 | 12ms | 8076kb | Just perfect! | 10 |
4 | 12ms | 8072kb | Just perfect! | 10 |
5 | 8ms | 8052kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 224ms | Depăşit | Memory limit exceeded. | 0 |
7 | 12ms | 8108kb | The rat is still alive! | 0 |
8 | 228ms | Depăşit | Memory limit exceeded. | 0 |
9 | 236ms | Depăşit | Memory limit exceeded. | 0 |
10 | 52ms | 8456kb | The rat is still alive! | 0 |
Punctaj total | 40 |