Borderou de evaluare (job #2276592)

Utilizator DaveDw.DaveDw. DaveDw. Data 4 noiembrie 2018 21:56:29
Problema Telefon Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] #import <iostream> ^~~~~~ main.cpp: In function 'int main()': main.cpp:18:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(;i<=N.length();i++) ~^~~~~~~~~~~~ main.cpp:24:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i==N.length()?x[i]=12:0; ~^~~~~~~~~~~~ main.cpp:27:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] for(;j<15*x[j++]>0;) ~^~~~~~~~~~ main.cpp:27:18: warning: operation on 'j' may be undefined [-Wsequence-point] for(;j<15*x[j++]>0;) ~^~ main.cpp:9:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("telefon.in","r",stdin); ^ main.cpp:10:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("telefon.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns gresit0
22ms131kbRaspuns gresit0
32ms131kbRaspuns gresit0
42ms131kbRaspuns gresit0
52ms131kbRaspuns gresit0
62ms131kbRaspuns gresit0
72ms131kbRaspuns gresit0
82ms131kbRaspuns gresit0
92ms131kbRaspuns gresit0
102ms131kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?