Pagini recente » Borderou de evaluare (job #418913) | Borderou de evaluare (job #1415971) | Borderou de evaluare (job #1574075) | Borderou de evaluare (job #2752385) | Borderou de evaluare (job #1549094)
Borderou de evaluare (job #1549094)
Raport evaluator
Compilare:
user.cpp: In function ‘void write()’:
user.cpp:46:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("Consumul minim = %d\n", Sol);
^
user.cpp: In function ‘void read()’:
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N[i - 1], &H[i - 1]);
^
user.cpp: In function ‘int main()’:
user.cpp:50:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.in" ,"r", stdin);
^
user.cpp:51:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.out", "w", stdout);
^
user.cpp:52:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |